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
Hi! I'm quite new to Power Bi and really need help with this. Maybe a really simple one for most but here goes:
This works:
Solved! Go to Solution.
Hi @nonononogin
Calculated tables cannot read the filter context, therefore, this approach is not going to work.
Altenatively, create a compy of the table visual, then you can create a filter measure as follows, place it in the filter pane of the copy table and select "is not blank" then apply the filter
Filter Measure =
COUNTROWS (
FILTER (
'Table A',
[COMBINED_SCORE] < AVERAGE ( 'Table C'[Threshold Score Value] )
)
)
Note that I have used AVERAGE for aggregation in case the user selected multiple values then the [Combine_Score] measure will be compares to the average of the selected values. You can choose another aggregation like MAX or MIN based on your requirement or you can just use SELECTEDVALUE in which case the measure will be compared with BLANK in case of multiselection and the filter will therefore return all -ve results (In your case no results)
Hi @tamerj1
it didn't work.
COUNTROWS gives the number of rows that fulfill the expression. So i didn't get any rows that are BLANKS in the measure.
I was able to change how i create the visual managed to link it with the What-if parameter.
Hi @nonononogin
Not sure if this means you still need help. If you do please feel free to let me know.
Hi @nonononogin
Calculated tables cannot read the filter context, therefore, this approach is not going to work.
Altenatively, create a compy of the table visual, then you can create a filter measure as follows, place it in the filter pane of the copy table and select "is not blank" then apply the filter
Filter Measure =
COUNTROWS (
FILTER (
'Table A',
[COMBINED_SCORE] < AVERAGE ( 'Table C'[Threshold Score Value] )
)
)
Note that I have used AVERAGE for aggregation in case the user selected multiple values then the [Combine_Score] measure will be compares to the average of the selected values. You can choose another aggregation like MAX or MIN based on your requirement or you can just use SELECTEDVALUE in which case the measure will be compared with BLANK in case of multiselection and the filter will therefore return all -ve results (In your case no results)
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.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 10 | |
| 5 | |
| 5 |