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.
I use column total to calculate percentage in values, but it shows blank instead of 0% for those without value. Please help!
Solved! Go to Solution.
Thanks for the reply from PijushRoy , please allow me to provide another insight:
Hi @rachel_loh21 ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Test =
var _column=SUMX(FILTER(ALL('Table'),'Table'[Month]=MAX('Table'[Month])),[Value])
return
DIVIDE(SUM('Table'[Value]),_column)+0
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thanks for the reply from PijushRoy , please allow me to provide another insight:
Hi @rachel_loh21 ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Test =
var _column=SUMX(FILTER(ALL('Table'),'Table'[Month]=MAX('Table'[Month])),[Value])
return
DIVIDE(SUM('Table'[Value]),_column)+0
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @rachel_loh21
To solve this problem, please create and use one measure in place of column
% Measure =
IF ( Table[%CT SMT percentage] = BLANK (), 0, Table[%CT SMT percentage] )
or
% Measure =
IF ( HASONEVALUE ( Table[%CT SMT percentage] ), Table[%CT SMT percentage], 0 )
Proud to be a Super User! | |
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 |
---|---|
68 | |
53 | |
53 | |
36 | |
34 |
User | Count |
---|---|
84 | |
71 | |
55 | |
45 | |
43 |