Forum Discussion
Anonymous
4 years agoNot applicable
Create Measure Unaffected by Slicer(s)
I have a dataset similar to below. Each row represents an event and the Count column is always populated with a (numeric) 1. I'm trying to create two measures counting the number of events, one t...
- 4 years ago
Hi,
I am not sure if I understood correctly your question, but please check the below picture and the attached pbix file.
first measure: = CALCULATE ( COUNTROWS ( Data ), ALLEXCEPT ( Data, Data[EventType], Data[Flag_YN] ) )second measure: = CALCULATE ( COUNTROWS ( Data ), ALLEXCEPT ( Data, Data[Flag_YN] ) )
Jihwan_Kim
Super User
4 years agoHi,
I am not sure if I understood correctly your question, but please check the below picture and the attached pbix file.
first measure: =
CALCULATE (
COUNTROWS ( Data ),
ALLEXCEPT ( Data, Data[EventType], Data[Flag_YN] )
)
second measure: =
CALCULATE (
COUNTROWS ( Data ),
ALLEXCEPT ( Data, Data[Flag_YN] )
)