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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Consider this image as a Power Bi matrix table.
Here I have parent-child hierarchy as rows and in values measure I want to uniquely mark subtotal "A" as 1 and rest all subtotals and child values as 0.
The reason I want to this achieve is then I can add custom value to the subtotal of A.
Ex-
How can I implement such a measure in DAX? Kindly help.
I tried to explore HASONEVALUE and ISFILTERED its not working for me.
Thank in advance.
@anish610 Try:
Measure = IF( ISINSCOPE('Table'[Child]), 0, 1 )
See attached PBIX below signature.