Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi,
I have a table with client names, their review dates and how many days till their next review:
| Client | Review due | Days till next review | Booked |
| John Smith | 20/02/2021 | -12 | 1 |
| Jane Smith | 10/03/2021 | 5 | 1 |
| Jean Smith | 06/04/2021 | 32 | 0 |
What I would love to achieve (but not sure how) is a report page with a matrix visual, 3 cards and a slicer, and:
Solved! Go to Solution.
Hi, @redhughes
If you want use SELECTEDVALUE function as a filter in CALCULATE function, you need put it in FILTER function firstly. You can make some changes to the third Measure.
sure =
CALCULATE (
COUNTA ( clients[!days-till-next-light-review-value] ),
clients[!days-till-next-light-review-value] >= 0,
FILTER (
'clients',
clients[!days-till-next-light-review-value]
<= SELECTEDVALUE ( 'Review-cutoff'[Review-cutoff] )
)
) + 0
Best Regards
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @redhughes
You can consider SELECTEDVALUE function to get current value in Slicer and do calculations for the fields you want to add to Cards with the value from Slicer.
Best Regards,
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Will this work for the table/matrix though?
Hi, @redhughes
If you create Measures with the value from SELECTEDVALUE, then use these Measures to create table or matrix visual. Then you will get variable result according to the value of the Slicer. You can refer SELECTEDVALUE Function DAX and Using the SELECTEDVALUE function in DAX.
Best Regards,
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-cazheng-msft, I've created a parameter called 'review-cutoff' and added a slicer to the page. then created a measure:
Hi, @redhughes
If you want use SELECTEDVALUE function as a filter in CALCULATE function, you need put it in FILTER function firstly. You can make some changes to the third Measure.
sure =
CALCULATE (
COUNTA ( clients[!days-till-next-light-review-value] ),
clients[!days-till-next-light-review-value] >= 0,
FILTER (
'clients',
clients[!days-till-next-light-review-value]
<= SELECTEDVALUE ( 'Review-cutoff'[Review-cutoff] )
)
) + 0
Best Regards
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 62 | |
| 62 | |
| 42 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 123 | |
| 114 | |
| 36 | |
| 29 | |
| 28 |