Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I want to show the line chart till end of the x-axis although no data for some periods at the end. Please see the screenshot below.
In this case, the redline is having data till 45'20 (x-axis)... but for the future dates it should replicate the value of 45'20, so that the red line will be straight from 45'20 to till end. Please help.
@snemilipuri , get the last date value, Assume you have a measure
new measure =
var _last =lastnonbalnkvalue( Table[Date], [measure])
return
if(isblank([measure]),_last ,[measure])
Hi @amitchandak,
It is still same. The logic which you have given will fill the blanks... but is not filling for the future dates. Please correct me if i am wrong.
Hi @snemilipuri
Could you share a sample with me by your Onedrive for Business? I need to know your data model. This will make it easier for me to understand your requirement.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
135 | |
117 | |
101 | |
71 | |
61 |