Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Solved! Go to Solution.
Hi
I was able to create such a chart:
Using this as measure:
single adjusted value =
var vminDate = CALCULATE (
MIN (CPI[Date] ),
ALLSELECTED ( CPI[Date] )
)
var vbase = CALCULATE(
sum(CPI[Sales]),
FILTER(ALLSELECTED(CPI[Date]),
CPI[Date]=vminDate))
return (sum(CPI[Sales])/vbase)*100
Try the above, or if you want to edit your code directly, replace the removefilters in the base value with a filter for all selected.
one more thing to try:
I noticed that if I have the date as a hierarchy in the chart, it has trouble calculating the min of the date, and returns flat lines
Chart with date as hierarchy:
However, when I change to the date as a value on it's own ,the problem is solved:
Chart with date as single value:
HTH,
Pi
Hi
I was able to create such a chart:
Using this as measure:
single adjusted value =
var vminDate = CALCULATE (
MIN (CPI[Date] ),
ALLSELECTED ( CPI[Date] )
)
var vbase = CALCULATE(
sum(CPI[Sales]),
FILTER(ALLSELECTED(CPI[Date]),
CPI[Date]=vminDate))
return (sum(CPI[Sales])/vbase)*100
Try the above, or if you want to edit your code directly, replace the removefilters in the base value with a filter for all selected.
one more thing to try:
I noticed that if I have the date as a hierarchy in the chart, it has trouble calculating the min of the date, and returns flat lines
Chart with date as hierarchy:
However, when I change to the date as a value on it's own ,the problem is solved:
Chart with date as single value:
HTH,
Pi
Thank you! I have tried all solutions (exhausting them all) and the real issue was the date as a value instead of as a hierarchy,
Thanks again!
It's often something that simple!
Glad it helped!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |