Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
How do I rewrite this measure so that it will only show the numbers from the beginning of when the values started?
Solved! Go to Solution.
Hi @agd50 ,
I got an idea. It's to capture the first date which the value is over 0 and then leave the value less than its date blank and the rest the original values.
For example,
As required, the value should start in March and be 0 in February. Create the measure.
Measure = var _mindate=CALCULATE(MIN('Table'[Date]),FILTER(ALLSELECTED('Table'),[Value]>0))
return IF(MAX('Table'[Date])<_mindate,BLANK(),SUM('Table'[Value]))
Put the measure in the Y-axis, which starts in March.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @agd50 ,
I got an idea. It's to capture the first date which the value is over 0 and then leave the value less than its date blank and the rest the original values.
For example,
As required, the value should start in March and be 0 in February. Create the measure.
Measure = var _mindate=CALCULATE(MIN('Table'[Date]),FILTER(ALLSELECTED('Table'),[Value]>0))
return IF(MAX('Table'[Date])<_mindate,BLANK(),SUM('Table'[Value]))
Put the measure in the Y-axis, which starts in March.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.