Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi!
I created a simple data model in order to ilustrate what I want to accomplish.
My goal is to create a bar chart (that will be filtered by a slicer) that shows months in the X axis and the sum of the value column from the fact table.
Since we are currently on June, but the are no instances in the fact table for that month, a simple measure SUM(FactTable[Value]) will return blank for June. Using COALESCE(SUM(FactTable[Value]), 0) will display June, but also all the other months that are not the current one.
How can I return 0 in the visual for the current month while not showing months past the current?
Solved! Go to Solution.
Hello @flavioaas ,
If I understand correctly, you want to show case the current month even if it was blank within the bar chart.
Hello @flavioaas ,
If I understand correctly, you want to show case the current month even if it was blank within the bar chart.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
12 | |
10 | |
10 | |
9 |
User | Count |
---|---|
17 | |
14 | |
12 | |
11 | |
10 |