Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
I have data looks like this
Date Cost Revenue
1.4.18 1000$ 200$
2.4.18 1100$ 300$
and so on.
15.7.18 0$ 800$
the line chart looks like this:
I want to calculate in how many days the integrals of the cost will meet the integral of the revenue.
How can I do that?
Thanks
You could add a table for Date or Calendar. And create a column in you data like Days from Inception where inception is the first date in you table. Just use the DATEDIFF function. Then create a calculated column which is the difference of Cost and Revenue.
Then create a measure like:
*Measure = Calculate(MAX(DaysFromInception), Filter(Data Table, CostAndRevenueDiff = 0))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
79 | |
73 | |
56 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |