Forum Discussion
How to filter no selection
- 9 years ago
Hi, let me try:
Create a measure to know when you have filters applied:
Flag = ISFILTERED ( Table1[Estado] ) || ISFILTERED ( Table1[Año] ) || ISFILTERED ( Table1[Mes] )This measure would be FALSE when dont have filters applied and TRUE when 1 or more filters applied.
Now, create a measure to show your values in your chart
ShowValor = IF ( [Flag], SUM ( Table1[Valor] ), BLANK () )
Use this measure (ShowValor) as Value in your visual.
No filters selectedFilter Selected
It is not clear what you would like to achieve. Can you extend the problem further.
- roas_0079 years agoRegular Visitor
Hi,
The problem is that when my filters are with no selected option I don't want my graphics to show anything.
- Vvelarde9 years agoCommunity Champion
Hi, let me try:
Create a measure to know when you have filters applied:
Flag = ISFILTERED ( Table1[Estado] ) || ISFILTERED ( Table1[Año] ) || ISFILTERED ( Table1[Mes] )This measure would be FALSE when dont have filters applied and TRUE when 1 or more filters applied.
Now, create a measure to show your values in your chart
ShowValor = IF ( [Flag], SUM ( Table1[Valor] ), BLANK () )
Use this measure (ShowValor) as Value in your visual.
No filters selectedFilter Selected
- v-huizhn-msft9 years agoMicrosoft Employee
Hi roas_007,
The Estado, Ano and Mes are slicers, right? If it is, we are not able to achieve what you want, slicer is used to filter rows.
Best Regards,
Angelia