Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi!
I would like to divide the column Verdi for KPI ID 9 with KPI ID 8 for each Måned.
E.g.: 2023, Måned 2; Holdningsindeks should be 2/20 = 10 %.
Any suggestions?
Solved! Go to Solution.
Solved, using:
@jolind1996 ,
You can simply use below optimized DAX for better performance:
Holdningsindeks =
CALCULATE(SUM(FactHoldningsindeks[Verdi]), FactHoldningsindeks[KPI ID]=9) / CALCULATE(SUM(FactHoldningsindeks[Verdi]), FactHoldningsindeks[KPI ID]=8)
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Solved, using:
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |