Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello guys, can you please help with a DAX measure to return rows where a value is 0. I would like to create something like this below.
To those of you guys familiar with SQL, the synthax would be similar to
(select * from sciences where attendances = 0)
union all
(select * from arts where attendances = 0)
Thanks in advance
Solved! Go to Solution.
Hi,
Append data from both tables. Then build a visual by dragging the Subject column from the appended table and write this measure
=SUM(Data[Attendances])
Now filer on this measure with a criteria > 0.
Hope this helps.
Hi,
Append data from both tables. Then build a visual by dragging the Subject column from the appended table and write this measure
=SUM(Data[Attendances])
Now filer on this measure with a criteria > 0.
Hope this helps.
@Anonymous
You can create a Calculated Table in Power BI
From the Modelling Tab>>>NEW TABLE
Table = FILTER ( UNION ( Sciences, Arts ), [Attendances] = 0 )
thanks for your help, What's the DAX syntax for the measure [Attendances]?
Hi,
I am not sure of whom you are replying to but have you tried the SUM() function which i suggested in my previous post.
Thanks Ashish, I tried your method and it worked.. thanks alot.
You are welcome.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 37 | |
| 31 | |
| 27 | |
| 27 |