Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Guys, do you know what could be an issue with this measure ? I want to use it in couple of visuals with different date filters and now it will not take those visual level filters. My calendar table is filtering 'Teams statistics' 1 to many.
@Anonymous Hey Mate ,
Can you try this Measure.
Yes count=
CALCULATE (
DISTINCTCOUNT ( 'Teams statistics'[User Principal Name] ),
FILTER(Teams statistics'[Teams Channels] = "Yes"
))
@Anonymous , Try like
YES count =
VAR min_level = MINX ('user AD', 'user AD'[User Org Level] )
return
CALCULATE (
DISTINCTCOUNT ( 'Teams statistics'[User Principal Name] ),
'Teams statistics'[Teams Channels] = "Yes",
filter('user AD', 'user AD'[User Org Level] <> min_level))
Appreciate your Kudos!!
Thanks, @amitchandak , that did not work. I think the issue lies in 'Teams statistics'[Teams Channels] and it is calculated column for YES count per user:
@Anonymous if calculate column is right in its table, then Measures calculation in visual will not affect the calculated column's result.
better show your sample data and expected result
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
12 | |
10 | |
6 |