Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hello everyone
I have the following table in Excel, I'm trying to do the same in PowerBI, but the result is not as expected.
I've created a measure for UnitsbyType
Solved! Go to Solution.
Hi @sonam7 ,
You may create a measure like DAX below .
Total Units=
VAR _table = SUMMARIZE( 'MASCI vwEnvironments', 'MASCI vwEnvironments'[Branch], "_Value", [UnitbyType])
RETURN
IF(HASONEVALUE('MASCI vwEnvironments'[Branch]), [UnitbyType], SUMX(_table,[_Value]))
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @sonam7 ,
You may create a measure like DAX below .
Total Units=
VAR _table = SUMMARIZE( 'MASCI vwEnvironments', 'MASCI vwEnvironments'[Branch], "_Value", [UnitbyType])
RETURN
IF(HASONEVALUE('MASCI vwEnvironments'[Branch]), [UnitbyType], SUMX(_table,[_Value]))
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 63 | |
| 62 | |
| 42 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 118 | |
| 106 | |
| 38 | |
| 28 | |
| 27 |