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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
EricPeabody
Frequent Visitor

Reporting the X-Axis value where two line cross

Howdy Team, I've got a table with a column for demand and a column for supply with rows for the end of each year.

EricPeabody_1-1699584129824.png

 

I'd like to calculate the date on which the supply and demand lines cross each other and use that date to drive an x-axis constant line: 

EricPeabody_0-1699584026099.png

I can't just use a calculate to filter the dates down to where two columns equal each other because often (always) the intersection date is in the middle of the year. I'm thinking it might be possible to narrow it down to the right year and then use so kind of proportion to estimate the date. Any ideas on how to implement this in DAX? Thanks!

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.