Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I'm trying to build a table where all of the lines are different calculations (see the below example in excel). This is a stand-alone report with different columns and each line is a different calculation and a different display format. Is there a way to do this in PowerBi?
Solved! Go to Solution.
@CharlotteB Two thoughts, use measures for your rows and the "Show on rows" feature for a Matrix. Otherwise, create a single measure and use something like a SWITCH statement:
Measure =
SWITCH(MAX('Table'[Column A]),
"Amount", <some calc>,
"#items", <some calc>,
...
)
@CharlotteB Two thoughts, use measures for your rows and the "Show on rows" feature for a Matrix. Otherwise, create a single measure and use something like a SWITCH statement:
Measure =
SWITCH(MAX('Table'[Column A]),
"Amount", <some calc>,
"#items", <some calc>,
...
)
@Greg_Deckler Thank you! The "show on rows" feature was exactly what I needed.
And I just bought your Mastering PowerBi book! Very informative:)
User | Count |
---|---|
98 | |
90 | |
82 | |
73 | |
67 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
66 |