The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am wondering if there is something similar to excel/pivot table"For empty cells show" (see picture below) in Power BI table/matrix visuals?
I know that is it possible to solve using DAX (replacing empty with 0 in the measure calculation) but I have a lot of measures that would need to be changed in that case
Solved! Go to Solution.
@Anonymous No, you would have to solve that in DAX. There is a "Show values with no data" but that just shows blanks if that is what the measure returns.
Hi @Anonymous ,
Adjust the corresponding measures, which have null values that you want to transform to 0:
newmeasure= var beforemeasure=(here is the measure you used before)
return if(beforemeasure=blank(),0,beforemeasure)
Wish it is helpful for you!
Best Regards
Lucien
Hi @Anonymous ,
Adjust the corresponding measures, which have null values that you want to transform to 0:
newmeasure= var beforemeasure=(here is the measure you used before)
return if(beforemeasure=blank(),0,beforemeasure)
Wish it is helpful for you!
Best Regards
Lucien
@Anonymous No, you would have to solve that in DAX. There is a "Show values with no data" but that just shows blanks if that is what the measure returns.
Could use mwhite space
Then create a measure with the function
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |