Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have the following data table:
I want a matrix that always compares the amounts to the big amounts. I created a measure that I thought would always give me the total of all the Big amounts:
How do I get AllBig to show for all Sections?
This example isn't realistic but I tried to simplify the issue to the smallest set of data that showed the problem.
Solved! Go to Solution.
Hi, @Whatever1 , if you want such a result,
you might want to try this measure
AllBig =
CALCULATE (
SUM ( [Amount] ),
Table1[Group] = "Big",
ALLEXCEPT ( Table1, Table1[Color] )
)
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hi, @Whatever1 , if you want such a result,
you might want to try this measure
AllBig =
CALCULATE (
SUM ( [Amount] ),
Table1[Group] = "Big",
ALLEXCEPT ( Table1, Table1[Color] )
)
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Thank you! I have been banging my head against the wall with this and just couldn't figure out why it wasn't working.
@Whatever1 , Try like
AllBig = calculate(sum([Amount]),filter(Table1,Table1[Group]="Big"))
That makes it show on only one row:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 12 | |
| 9 | |
| 5 | |
| 5 |