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
I am tying to make a cumulative line target appear in the chart. The line must start with the value given by the measure and then it gets added by itself for each day. For example: if the target value in the first day is 5, for second day will be 10, the third will 15, and so on...
Here is the measure that I am currently using:
Solved! Go to Solution.
Hi @Anonymous ,
Make sure the start measure always returns static value for each day.
Then rank the days on x-axis and multiply by [measure].
Cumulative_Target = [Measure]*RANKX(ALLSELECTED(Date_Table),CALCULATE(SELECTEDVALUE(Date_Table[day])),,ASC)
Best Regards,
Jay
Hi @Anonymous ,
Make sure the start measure always returns static value for each day.
Then rank the days on x-axis and multiply by [measure].
Cumulative_Target = [Measure]*RANKX(ALLSELECTED(Date_Table),CALCULATE(SELECTEDVALUE(Date_Table[day])),,ASC)
Best Regards,
Jay
Hi @Anonymous,
Is the x-axis in your chart equal to Date_Table[Date_Column]? If not, try changing your calculation to:
Thank you for your reply @claymcooper .
The x-axis in the chart is not equal to Date_Table[Date_Column], but it's from the same table. Your suggestion won't work.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |