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.
Hello Power BI Friends,
I have two tables as below:
Incoming
Date, Value
01/01/2018, 100
02/01/2018,0
03/01/2018,150
05/01/2018,200 //note that in this example there isn´t data for April
(...)
Costs
Date, Value
02/01/2018,50 //note that in this example there isn´t data for january
03/01/2018,170
04/01/2018,75
05/01/2018,80
06/01/2018, 90
(...)
I need a measure that divides the total Incoming by total costs only when there is revenue and cost in the same month.
Thanks for your time.
Solved! Go to Solution.
Hi richardmoreno,
To achieve your requirement, merge incoming table and cost table by inner join like below:
After merged:
Then click close&apply, create a measure using dax like below:
Regards,
Jimmy Tao
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 | |
83 | |
67 | |
61 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |