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 have a clustered column chart with one filed on the X-axis and two measures. Example below:
If there's value either for Sales or Target, but not for both measures I would like to show 0 instead of nothing (e.g. 0 for Banana target and 0 for Plum Sales).
What I've tried so far:
Hi @mrbartuss
Thank you very much sevenhills for your prompt reply.
It seems that the method provided by sevenhills is suitable for your situation. Can you tell me if your problem is solved? If yes, please accept it as solution.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Unfortunately, it solved my problem only partially
Try this,
add a measure
Is Zero Check = IF( [Sales Target] = 0 && [Total Sales] = 0, 1, BLANK())
Expand or view filters pane
Drag this measure and set the filter as "Is Zero Check" is blank.
You get the ouput as below:
Hope it helps!
Thank you! It works, but it seems 0 has to be added to the Sales and Target measures. They are also used on other pages and visuals. As measure cannot be added as a report or even page level filter I would have to use it on all the visuals. Are there any better solutions just for the chart?
User | Count |
---|---|
74 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |