Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi there,
I am building a summary table in PowerBI that takes measures from different tables within the model and displays them in a single table. To give a bit of context, i have measures throughout the model and have a table listing the measure names. I then create a new 'master' measure that uses an if statement to show if Measure A then Measure A value, etc.
The output is as such:
Measure Name, Measure Value
Measure A, 10
Measure B, 15
Measure C (%), 3
The problem I am encountering is that i can't change formats in a individual measure in my 'master' measure. Are there any tricks around this? For measure C i would like to show 3% instead of 3.
Cheers,
@orangeatom , check if calculation groups can help you
https://www.sqlbi.com/articles/introducing-calculation-groups/
@amitchandak , Thank you but and its similar to what i'm doing but in my case i would require the measures names to be listed on the left and each of the measures as columns.
The ask is for some measures (my rows) they are to be displayed in a whole number while others should be displayed as a percent.
Hi @orangeatom ,
It seems that you want the new measure master to have both Whole number data type (values from Measure A and B) and decimal number data type (values from Measure C). Different data type are not allowed in one same column or measure. Perhaps you can set the data type of new measure [master] as Text type, which can achieve the effect you want visually. But it cannot participate in the calculation since it is set to Text type...
Best Regards
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
105 | |
98 | |
39 | |
30 |