Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi,
The following measure shows the same total for each person
SI Team =
CALCULATE(
[All Cases],
Owners[Name] IN {"Ian Bloggs", "Siobhan Bloggs", "George Best", "Billy Chaplin"})
When I add KEEPFILTERS to fix the measure I get the following error - any ideas how to fix this?
SI Team =
CALCULATE(
KEEPFILTERS(
[All Cases]),
Owners[Name] IN {"Ian Bloggs", "Siobhan Bloggs", "George Best", "Billy Chaplin"})
I'm guessing this has something to do with the Team structure hierarchy?
Thanks
Solved! Go to Solution.
The KEEPFILTERS function goes around the filter argument, not the measure.
Try this instead:
SI Team =
CALCULATE (
[All Cases],
KEEPFILTERS ( Owners[Name] IN { "Ian Bloggs", "Siobhan Bloggs", "George Best", "Billy Chaplin" } )
)
The KEEPFILTERS function goes around the filter argument, not the measure.
Try this instead:
SI Team =
CALCULATE (
[All Cases],
KEEPFILTERS ( Owners[Name] IN { "Ian Bloggs", "Siobhan Bloggs", "George Best", "Billy Chaplin" } )
)
Thanks, that works!👍
What is the dax inside your measure namec All Cases?
All Cases =
DISTINCTCOUNT('Cases'[Case Number]
)
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.
User | Count |
---|---|
89 | |
82 | |
56 | |
41 | |
37 |