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.
I have two tables one is headcount its is in month wise every month there will be new data with historical data (data of all months in a year)and i have product cost table data which is year wise (just one sinlge date as 01/03/2022)for that year i have just single values. now i have to calculate the Product cost by headcount everymonth and to get YTD of that new Pex cost
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Solved! Go to Solution.
Hi, @powanpilla
You can try the following methods.
Measure:
Pex Cost =
Var _value=5000
Return
DIVIDE(_value,SUM('Table'[values]))
YTD Pex cost = SUMX(FILTER(ALL('Table'),[Date]<=SELECTEDVALUE('Table'[Date])),[Pex Cost])
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @powanpilla
You can try the following methods.
Measure:
Pex Cost =
Var _value=5000
Return
DIVIDE(_value,SUM('Table'[values]))
YTD Pex cost = SUMX(FILTER(ALL('Table'),[Date]<=SELECTEDVALUE('Table'[Date])),[Pex Cost])
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@mlsx4 @parry2k @Idrissshatila @amitchandak @Greg_Deckler @HarishKM @Ritaf1983 @Ahmedx Please Help me
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 |
---|---|
100 | |
100 | |
76 | |
67 | |
61 |
User | Count |
---|---|
142 | |
106 | |
103 | |
85 | |
70 |