Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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 All,
sorry if in the wrong topic area, but wondering if someone could help?
looking to simplify the following "working" measure
Eliminations = -
(CALCULATE([Actuals INDY],'Finance Data','Finance Data'[ANAL_T5]="II")+CALCULATE([Actuals INDY],'Finance Data','Finance Data'[ANAL_T5]="IRL")+CALCULATE([Actuals INDY],'Finance Data','Finance Data'[ANAL_T5]="IML")+
CALCULATE([Actuals MRL],'Finance Data','Finance Data'[ANAL_T5]="II")+CALCULATE([Actuals MRL],'Finance Data','Finance Data'[ANAL_T5]="IRL")+CALCULATE([Actuals MRL],'Finance Data','Finance Data'[ANAL_T5]="IML")+
CALCULATE([Actuals MRU],'Finance Data','Finance Data'[ANAL_T5]="II")+CALCULATE([Actuals MRU],'Finance Data','Finance Data'[ANAL_T5]="IRL")+CALCULATE([Actuals MRU],'Finance Data','Finance Data'[ANAL_T5]="IML")+
CALCULATE([Actuals MTC],'Finance Data','Finance Data'[ANAL_T5]="II")+CALCULATE([Actuals MTC],'Finance Data','Finance Data'[ANAL_T5]="IRL")+CALCULATE([Actuals MTC],'Finance Data','Finance Data'[ANAL_T5]="IML"))
it does work as intended but seems to not be the best way to do it,
have tried looking on how to implement is or into the formula but coulnd see anything on search that fit the example
Solved! Go to Solution.
Hi @Anonymous ,
Try one of the following formulas:
Eliminations =
- CALCULATE (
[Actuals INDY] + [Actuals MRL] + [Actuals MRU] + [Actuals MTC],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
Eliminations =
- (
CALCULATE (
[Actuals INDY],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
+ CALCULATE (
[Actuals MRL],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
+ CALCULATE (
[Actuals MRU],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
+ CALCULATE (
[Actuals MTC],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
Try one of the following formulas:
Eliminations =
- CALCULATE (
[Actuals INDY] + [Actuals MRL] + [Actuals MRU] + [Actuals MTC],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
Eliminations =
- (
CALCULATE (
[Actuals INDY],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
+ CALCULATE (
[Actuals MRL],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
+ CALCULATE (
[Actuals MRU],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
+ CALCULATE (
[Actuals MTC],
'Finance Data',
'Finance Data'[ANAL_T5] IN { "II", "IRL", "IML" }
)
)
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks you so much used the first, ad now looking into the IN {
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 |
|---|---|
| 50 | |
| 44 | |
| 42 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |