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
Hi guys!
I've got the following data table.
I need to create a measure to calculate the total number of households.
The number of households changes only on Regional and Demographical levels. In the picture above, we can see Demo Group - 1 and two regions - West and South. Power BI, however, sums it up at every level, i.e. total is 60.
I would greatly appreciate any help on this!!
Thank you!
Solved! Go to Solution.
Hello @mar100
This measure should get you what you are looking for. I tested it with an additional demo split add to check. You will just have to change thename of your table.
Measure =
SUMX (
SUMMARIZE( Data, Data[Region], Data[Demo Split] ),
CALCULATE ( MAX ( Data[Number of households] ) )
)
If this solves your issues please mark it as the solution. Kudos 👍 are nice too.
Hello @mar100
This measure should get you what you are looking for. I tested it with an additional demo split add to check. You will just have to change thename of your table.
Measure =
SUMX (
SUMMARIZE( Data, Data[Region], Data[Demo Split] ),
CALCULATE ( MAX ( Data[Number of households] ) )
)
If this solves your issues please mark it as the solution. Kudos 👍 are nice too.
Thank you so much!! You are a life saviour! 🙂
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 43 | |
| 41 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 186 | |
| 116 | |
| 95 | |
| 64 | |
| 45 |