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.
Im pretty new to Power BI and DAX. So I've got a table Project and a table Opportunity.
I want to calculated the Estimated revenue win rate. This will be done by [Total Est. Won] / [Total Est. Won/Lost]
First step in my mind is to figure out what [Total Est. Won] is.
Opportunity has a column named status with Won, Lost and Open. Project has the Est. Revenue.
I want in project, a measure where I can get my first step done. So far I tried this and it returned me blank. I assume this is because I dont have any relation between them. Is there any way I can get this done withouth a relationship between these tables?
Measure:
Total Est. Won := CALCULATE(SUM(Project[Est. Revenue (Base)]),FILTER(RELATEDTABLE(Opportunity),[Status] = "Won"))
Hi Akkoustic
I fear this is not possible. Think about what you are asking in that DAX formula.
It is like saying to someone "Count how many apples are on the tree, where the fish in the sea are green" there is no connection. You need a common field in both tables or a third table joining them.
As a guess, i would think you have x Opportunities per project (or x projects per Opportunity)? Perhaps there is a customer name or location or something common to both?
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 |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |