Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
botaac
Frequent Visitor

Dax Calculated Table

I am trying to take the sample dataset:

IDLocationNumber Bracket
123North America$101-$250
233North America$251-$500
433EMEA$101-$250
697APAC$501-$1000

 

And create a calculated table in DAX that performs the following:

 

IndexBracketNorth AmericaAPACEMEA
1$101-$250101
2$251-$500100
3$501-$1000010

 

Essentially creating a pivot table. Let me know if this is possible. Thank you!

1 ACCEPTED SOLUTION
some_bih
Super User
Super User

Hi @botaac simpe click add new table and use ADDCOLUMNS (SUMMARIZE pattern with your columns and measures like https://learn.microsoft.com/en-us/dax/addcolumns-function-dax?WT.mc_id=DP-MVP-4025372 

I hope this help





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






View solution in original post

1 REPLY 1
some_bih
Super User
Super User

Hi @botaac simpe click add new table and use ADDCOLUMNS (SUMMARIZE pattern with your columns and measures like https://learn.microsoft.com/en-us/dax/addcolumns-function-dax?WT.mc_id=DP-MVP-4025372 

I hope this help





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.