cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SPC_123 Visitor
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

Accepted Solutions
Super User
Super User

Re: DAX with filter question

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

Something like the above should work.


Near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

2 REPLIES 2
Super User
Super User

Re: DAX with filter question

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

Something like the above should work.


Near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

vik0810 Member
Member

Re: DAX with filter question

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

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 5 members 3,664 guests
Please welcome our newest community members: