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 am working with a data model that includes a hierarchy of product categories. How can I use expressions to create measures that aggregate data at different levels of the hierarchy, such as by product, product category, or overall sales?
Solved! Go to Solution.
Hi @bilibi2928 ,
Please try to create a measure with ISINSCOPE() function.
For more details, you can read related document: ISINSCOPE function (DAX) - DAX | Microsoft Learn
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @bilibi2928 ,
Please try to create a measure with ISINSCOPE() function.
For more details, you can read related document: ISINSCOPE function (DAX) - DAX | Microsoft Learn
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 32 | |
| 18 | |
| 14 |