Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I display in a matrix visual in Power BI:
Rows:
Values:
Code for MeasureResp:
IF (
ISINSCOPE ( 'Client'[Name] ),
MAX ( 'Client'[Responsible] ),
CALCULATE (
FIRSTNONBLANK ( 'Client'[Responsible], 1 ),
FILTER (
'Client',
'Client'[Client Number (Legacy)] = 'Client'[Client Number]
)
)
)
(When the matrix is expanded; it returns the responsible for each client, but when it is collapsed, it will find the Responsible where Legacy=Client Number)
I also have a filter on another Dimension that I use: Dimension2[Rep]
They filter does not work, it only works if I remove MeasureResp? Why is this?
You need to put Client[Client Number] into a variable outside the CALCULATE(). Otherwise your filter only works on row level.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
87 | |
65 | |
50 | |
45 |
User | Count |
---|---|
217 | |
88 | |
81 | |
65 | |
56 |