Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowI have a dataset with student Id , test date, test venue, test slot. A Student can have more than one test date with a different venue(nyc,la,..) and slot(a,b,c..)
I have slicers for venue and slot.
And i need to visualise the venue and slot distribution but only for the first test dates for each student.
I have a dynamic rank measure .
rank=Countx(filter (allselected[table]),[student Id]=max([student Id]) && [test date]<=max([test date])),[test date])
And count of first tests
Calculate(count(test date), filter (table, [rank]=1)
Everything works in a card.
But when I take it into a table visual with venue and first test count I am not able to get the venue distribution of the first tests I am only getting the count of first tests for each venue if that venue was the only option.
Tldr. In a table visual, The row context always gets applied first and then it applies my dynamic rank logic.
How do I make power bi apply my dynamic rank logic first and then apply the row context to the ranked values.
I want a table which shows
Summarize(filter(table,[rank]=1),count([test date])) is there a way to directly visualise this table in a visual. I can get this in dax studio but not in power bi as a dynamic visual that changes with slicers.
When I am trying to apply this filter through the filter pane onto the visual with venue and count of test dates everything disappears.
Hi, @Zoozoo800
Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
98 | |
69 | |
63 | |
49 | |
41 |