Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have the following developed (fake numbers of course to protect the innocent
). All of the data is in the same table. I am struggling with creating a formula that will ignore the labor expense category (which does not exists in the rows with generated minutes) so I can perform a calculation of LaborAmount:Total Generated Mintues.
Solved! Go to Solution.
Generally, you use an ALLEXCEPT filter in a CALCULATE to override the context of a measure within a visualization.
Hi @zimmermanaric,
As @Greg_Deckler suggested, you can create a measure:
Column 2 = CALCULATE(SUM(Table1[Labor Amount]),ALLEXCEPT(Table1,'Table1'[Parent Location]))
Also you can create a calculated column use:
Column = CALCULATE(SUM('Table1'[Labor Amount]),FILTER('Table1','Table1'[Parent Location]=EARLIER(Table1[Parent Location])))
Best Regards,
QiuyunYu
Hi @zimmermanaric,
As @Greg_Deckler suggested, you can create a measure:
Column 2 = CALCULATE(SUM(Table1[Labor Amount]),ALLEXCEPT(Table1,'Table1'[Parent Location]))
Also you can create a calculated column use:
Column = CALCULATE(SUM('Table1'[Labor Amount]),FILTER('Table1','Table1'[Parent Location]=EARLIER(Table1[Parent Location])))
Best Regards,
QiuyunYu
Generally, you use an ALLEXCEPT filter in a CALCULATE to override the context of a measure within a visualization.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 86 | |
| 85 | |
| 68 | |
| 64 |