Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
I have a composite column and line chart which has patchy data somethimes, and when it does the lines don't join up, they just have gaps. When the values are zero I want the lines to go to zero and not just vanish. How do I fix this?
Thank you
Solved! Go to Solution.
@IntaBruce , That is because the values are blank, In case 0 it will show them on the axis.
You can add +0 to the measure. But it can show all month year, so control like
0 between range
Measure = var _1= SUM(Opportunity[Opportunity count]) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))
Thank you @amitchandak and @Ashish_Mathur , both your suggestions achieved the result I needed. Thank you so much for the speedy response and also helping to enhance my own Power BI skills 😍😍
You are welcome.
Hi,
The Submissions measure should be revised to
Submissions1 = coalesce([Submissions],0)
Do the same for the other measure which you are showing as a line.
@IntaBruce , That is because the values are blank, In case 0 it will show them on the axis.
You can add +0 to the measure. But it can show all month year, so control like
0 between range
Measure = var _1= SUM(Opportunity[Opportunity count]) +0
var _min = minx(ALLSELECTED('Calendar'), 'Calendar'[Date])
var _max = maxx(ALLSELECTED('Calendar'), 'Calendar'[Date])
return
CALCULATE(if(max('Calendar'[Date]) <_min || max('Calendar'[Date]) >_max , BLANK(), _1))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
75 | |
63 | |
52 | |
47 |
User | Count |
---|---|
215 | |
85 | |
61 | |
61 | |
60 |