Forum Discussion
Anonymous
2 years agoNot applicable
I want a DAX Query to create a pivot calculated table
I have a table as below Unique ID Name Equipment A998877 Alex Laptop B554223 Bob Mobile K981265 Alex Laptop G674320 Julia Desktop F437612 Smith Laptop Y764378 Alex ...
- Anonymous2 years ago
Hi Anonymous ,
Thanks for the reply from miTutorials , please allow me to provide another insight:
You can try the following DAX formula:
SummaryTable = SUMMARIZE( 'Table', 'Table'[Name], "Laptop", CALCULATE(COUNTROWS('Table'), 'Table'[Equipment] = "Laptop"), "Mobile", CALCULATE(COUNTROWS('Table'), 'Table'[Equipment] = "Mobile"), "Desktop", CALCULATE(COUNTROWS('Table'), 'Table'[Equipment] = "Desktop") )If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
2 years agoNot applicable
Thank you Anonymous , it worked perfectly