0% found this document useful (0 votes)
2 views

DAX1

The document outlines various data manipulation techniques using DAX for analyzing sales data from an Orders table. It includes operations such as summarizing total sales, grouping by region and sub-category, filtering specific data, and adding calculated columns. Additionally, it defines a data table for categorizing sales ranges.

Uploaded by

psaritha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

DAX1

The document outlines various data manipulation techniques using DAX for analyzing sales data from an Orders table. It includes operations such as summarizing total sales, grouping by region and sub-category, filtering specific data, and adding calculated columns. Additionally, it defines a data table for categorizing sales ranges.

Uploaded by

psaritha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

SummarizeTable = SUMMARIZE(Orders,Orders[Sub-Category],"Total

Sales",SUM(Orders[Sales]))

GroupByTable = GROUPBY(
GROUPBY(Orders,Orders[Region],Orders[Sub-Category],
"Total Sales",SUMX(CURRENTGROUP(),Orders[Sales])),
Orders[Region],"Minimum Sales",MINX(CURRENTGROUP(),[Total Sales]))

GBFilterTable = FILTER(GROUPBY(Orders,Orders[Region],Orders[Sub-Category],
"Total Sales",sumx(CURRENTGROUP(),Orders[Sales])),Orders[Region]="East" &&
Orders[Sub-Category]="Chairs")

G1 = GROUPBY(Orders,Orders[Region],Orders[Sub-Category],
"Total Sales",SUMX(CURRENTGROUP(),Orders[Sales]))

GroupByTable =
GROUPBY(Orders,Orders[Sub-Category],
"Total Sales",SUMX(CURRENTGROUP(),Orders[Sales]),
"Minimum Sales",minx(CURRENTGROUP(),Orders[Sales]),
"Maximum Sales",MAXX(CURRENTGROUP(),Orders[Sales]),
"Average Sales",AVERAGEX(CURRENTGROUP(),Orders[Sales]),
"No of Sales",COUNTX(CURRENTGROUP(),Orders[Sales]))

AddcolumnsTable =
ADDCOLUMNS(Orders,"Unit Price",Orders[Sales]/Orders[Quantity])

SelectColumnTable = SELECTCOLUMNS(Orders,"Region",Orders[Region],"Customer
Name",Orders[Customer Name],"Sales",Orders[Sales])

SelectColumnTable =
SELECTCOLUMNS(Filter(Orders,Orders[Sales]>100),"Region",Orders[Region],"Customer
Name",Orders[Customer Name],"Sales",Orders[Sales])

Datatable = DATATABLE(
"Sales Range",STRING,
"Minimum",INTEGER,
"Maximum",INTEGER,
{
{"Low",0,10000},
{"Medium",10001,50000},
{"High",50001,100000}
}
)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy