Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi everyone,
I am hoping you can help. As shown in the attached .pbix, I am trying to create a measure that does a calculation for each type of unit.
https://www.dropbox.com/transfer/AAAAAI7QwxfiEXZVRyFwMUAlDwzO_TqBV0YNUKIAgJTeNjcKO2HtDKE
Here's the context:
I have three types of tasks (A,B, and C) that are supposed to take a certain amount of time (target). My data show their actual time compared to their target.
I am supposed to use geometric means (rather than arithmetic means) to show average performance, which I have done through a few measures.
Here is where I need help: To show opportunity, I want to do a summation of the difference between geometric mean acutal and geometric mean target, for each type of task. In the .pbix, I have done this on a row level, but I am not able to aggregate it. My total opportunity shows 0.88 when it should equal 4.99 (0.41+0.25+4.33).
Can anyone help? I'd really apprecaite it!
Solved! Go to Solution.
Hi @Anonymous ,
try this
Opportunity Try 1 = SUMX(VALUES('Sample'[Type]),[Geometric Mean Actual]-[Geometric Mean Target])
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @Anonymous ,
try this
Opportunity Try 1 = SUMX(VALUES('Sample'[Type]),[Geometric Mean Actual]-[Geometric Mean Target])
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Thank you!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |