Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello All,
Could someone please help me solve this problem if possible.
I have a table in which there are products with expiry dates.
I filter the table using the slicer. I also have a 'Card' visualisation which shows me how many filtered products there are.
I have now additionally created a new parameter in which I can select which products expire in 15,30,45,60,75,90 days.
The problem lies in the fact that when I select, for example, which products expire in 15 days, the result in the table is correct, but the value of the 'Card' visualisation does not change.
Do you perhaps know what I should do in this case?
Solved! Go to Solution.
Hi @BRL7WZ ,
My pbix is below:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
I'm sorry, but I have no idea how you came to that result. I have tried but failed. Each time...
Would it be too much on my part to ask you to send me this sample pbix? Then step by step I will try to implement this solution in my report.
Hi @BRL7WZ ,
My pbix is below:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
Fantastic! Thank you so much for your help and support.
Hi @BRL7WZ ,
You can create a metric to put in the card
Below is my table:
The following DAX might work for you
Measure 2 =
COUNTX('Table',[Measure])
Measure =
var days_to = SELECTEDVALUE('Table'[days to expire])
var result =
CALCULATE(
COUNTROWS('Table'),
FILTER('Table' , days_to >= 'days to expire'[days to expire Value])
)
return result
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps , then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |