Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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:)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
78 | |
58 | |
35 | |
31 |
User | Count |
---|---|
100 | |
59 | |
56 | |
46 | |
41 |