Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
BenNguyen
Frequent Visitor

How many days left till the used value will reach the target?

Hello Community Team,

I have a question related to the DAX formula. Following is my visualization.
I have a line chart showing comparison between Actual and Target with:
EPZ = external (in yellow), IPZ = internal (in blue)
Prod used = actual (changing by day), Prod Capacity = target (stable data)

By using this line chart, I can see data is growing in each EPZ or IPZ.

But I want to have a card to predict how many days left (counting from the latest date) that the solid line with reach the dashed target line?

BenNguyen_0-1666254344178.png

Can you please help me out with a DAX formula?
Thank you so much for your support!

1 ACCEPTED SOLUTION
daXtreme
Solution Sage
Solution Sage

Here's some example of how to do such things... File attached. Just scrutinize the file thoroughly and you'll know everything.

View solution in original post

1 REPLY 1
daXtreme
Solution Sage
Solution Sage

Here's some example of how to do such things... File attached. Just scrutinize the file thoroughly and you'll know everything.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.