This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello All,
I am trying to hide a table visual based on a condition which is if any record from the table visual has less than 5 value then all records/table from it should be hidden.
Sample data :
Dim Table : Dim_Age_group
Age_group_skey Age_group_name
1 Under 25
2 25-35
3 35-45
Fact table contains columns : Age_group_skey and headcount_ind
The table visual which I am creating with help of above two tables is like below :
Headcount = Sum(Headcount_ind)
Age_Headcount Table :
Age_group_name Headcount
Under 25 60
25-35 2000
35-45 4
So, Basically I want to hide all records/table visual as this table has 1 record for which the value is <5.
Looking forward for your suggestions.
Thank you
Regrads,
Prabha
Solved! Go to Solution.
Hi @Anonymous ,
To my knowledge, there is no option to hide visuals based on conditions.
Ideas similar with what you expect have been submitted in the following links, please vote them up and you can add comments.Hopes Power Bi will implement this in nearby future.
ability to show/hide visuals based on conditionals
My workaround is use a flag measure for filter to "show" or "hide" rows:
Count of less than 5 =
var _t= SUMMARIZE(ALL('Dim_Age_group'),[Age_group_name],"Flag",IF([Headcount]<5,1,0))
return SUMX(_t ,[Flag])
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
To my knowledge, there is no option to hide visuals based on conditions.
Ideas similar with what you expect have been submitted in the following links, please vote them up and you can add comments.Hopes Power Bi will implement this in nearby future.
ability to show/hide visuals based on conditionals
My workaround is use a flag measure for filter to "show" or "hide" rows:
Count of less than 5 =
var _t= SUMMARIZE(ALL('Dim_Age_group'),[Age_group_name],"Flag",IF([Headcount]<5,1,0))
return SUMX(_t ,[Flag])
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 38 | |
| 29 | |
| 28 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 34 | |
| 31 | |
| 25 | |
| 23 |