Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi I have an issue filtering my table based on rank value, I have this scenario:
When the user select a sample size %, the table should filter based on the rank (data_filter measure)
My expected should be like this when user select a sample size, the table will automatically filter based on random selected %
Hope someone will help. Thanks
Hi @sjpbi ,
Try expression below:
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
I'm still getting all 0's
Hi @sjpbi ,
Please try to add All(your table) to the for_data_filter expression
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
below is my formula for For data_filter
Hi @sjpbi ,
please try this expression:
For data_filter = CALCULATE(ROUND([Total Data count]*[% Value],0),ALL('Table'))
can't use ALL since i have other filters in the report.
Actually the data filter column is the rank measure of random row column i created and sort out to asc the table data should filter based on the total count * %value selected by user so the table will display top 18 counts
Hi @sjpbi ,
Based on your description, I created simple samples and you can check the following results:
For data_filter = ROUND([Total Data count]*[% Value],0)
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Data should filter only 3 rows since it's 18*15%=2.7=3
Hi @sjpbi ,
I'm trying to create a measure for the filter to filter out columns with a value of 1,and getting the result:
For visual = IF('Table'[data_filter]<='Table'[For data_filter],1,0)
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
101 | |
87 | |
35 | |
35 |
User | Count |
---|---|
152 | |
100 | |
83 | |
63 | |
54 |