Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone,
I need your help with a Clustered column and line chart.
The goal is to show the chart with the x-axis, where the last date = the date, where "sold" and/or "cost" data is available.
In this case, there should be 3 values: July, August, September.
The limits of x-axis should be changed dynamically, depending on the applied filters.
I use calenderauto() for my date table.
Thank you for your ideas!
Solved! Go to Solution.
Hey @Delphia ,
the axis will disappear when there is not data to show. So I would recommend to check in the [Profit %] measure if there is data in the other two measures:
Profit % =
IF([Sold] = BLANK() && [Cost] = BLANK(), BLANK(), [the current Profit % code] )
Hey @Delphia ,
the axis will disappear when there is not data to show. So I would recommend to check in the [Profit %] measure if there is data in the other two measures:
Profit % =
IF([Sold] = BLANK() && [Cost] = BLANK(), BLANK(), [the current Profit % code] )
Thank you, Denis, for this solution! It works perfectly!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |