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.
Hi all,
I have a chart like this:
On every string, there are one or more events. I can click on this chart - both to choose whole string or a single event. I would like to have a measure that will tell me how many events are there on a string, regardless if I click a whole string or a single event. For example, on string 1 I would expect the value to be 6.
I thought it could be like:
_howManyCleanings = CALCULATE(
COUNT(TableData[EventID]),
REMOVEFILTERS(TableData[StringID])
)
but this is not working - when I click string 1 it shows correctly value 6, but if I click on the event, the measure shows 1, instead of still 6.
How to fix this?
Thanks,
Joanna
Solved! Go to Solution.
Hi, @Kohrinn
something like below
if yes then try below measure
adjust table and column name
Measure =
CALCULATE(COUNT('Table'[event]),REMOVEFILTERS('Table'[event]))
my data look like below
I've already tried that, same result.
Hi, @Kohrinn
something like below
if yes then try below measure
adjust table and column name
Measure =
CALCULATE(COUNT('Table'[event]),REMOVEFILTERS('Table'[event]))
my data look like below
User | Count |
---|---|
77 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
52 | |
50 | |
48 |