Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SPC_123
Frequent Visitor

DAX with filter question

I have a basic question.  I would like to create a measure for a filtered value of a column, providing/displaying the total number of attendees for a particular ‘interaction type’.

Table Name = Consolidated

Column Name = Interaction Type

Column Name = Total Number of Attendees

Examples of interaction types   Face to Face, Virtual

I want to create a DAX expression to display/count of Total Number of Attendees, for the Interaction Type of Virtual.

I cannot use a quick measure as I need to be able to use this elsewhere and quick measure does not allow the filtering I need.

Thank you.

1 ACCEPTED SOLUTION
Seth_C_Bauer
Community Champion
Community Champion

measure name = CALCULATE(SUM('Consolidated'[Total Number of Attendees]), FILTER('Consolidated', 'Consolidated'[Interaction Type] = "Virtual"))

Something like the above should work.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

2 REPLIES 2
vik0810
Resolver V
Resolver V

Measure = CALCULATE(COUNT(Consolidated[Total Number of Attendees], Consolidated[Interaction Type] = "Virtual")
Seth_C_Bauer
Community Champion
Community Champion

measure name = CALCULATE(SUM('Consolidated'[Total Number of Attendees]), FILTER('Consolidated', 'Consolidated'[Interaction Type] = "Virtual"))

Something like the above should work.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.