Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Card Visual

Card Visual filters: After publishing the report, applied filters don’t seem to work properly, the visual displays as-is with filters still applied. This normally happens after the report is published & is refreshed either through a schedule or manually from dateset, my applied card visual filters have values "True" or "False", upon my investigation I noticed new filter values: "-1" & "0" instead of "True" or "False" and that is the reason why the originally applied filters don’t work anymore then I was forced to reapply the filters on the cloud for the same report and this time around my new filter values are “-1” or “0” instead of “True” or “False”. Is there specific reason why this is happening?

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

HI @MatlolHG

This might be because of the data present in that column or measure whihc is an invalid True/False.

I always use 1 and 0 for that case and create a function to display true for 1 and false for 0

IF([COL]=1,"True","False")

View solution in original post

Anonymous
Not applicable

Hello @pranit828

Sorry for the delay in response

As you advised,

I added a new conditional column to change the desktop attribute values from "True" or "False" to "0" or "-1" and reised the report.

Power Query Used: Table.AddColumn(-"Filtered Rows", "ColumnName", each if [ColumnName] á true then 0 else if [ColumnName] á false then -1 else null)

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi @Anonymous ,

Could you please provide the field or mesure which applied on card visual and its formula in order to make troubleshooting? Besides that, please provide the screen shot about the setting of Filter pane.Thank you. 

Best Regards

Rena

Anonymous
Not applicable

Hi @yingyinr

Although I marked the problem "resolved" I still have this question, why is the card visual converting text values to numeric values

1. Data attributes values

MatlolHG_0-1597926219800.png

2. Applied filters before publishing the report to the cloud

MatlolHG_2-1597926317784.png

3. Filter values after publishing the report

MatlolHG_3-1597926448656.png

Point 3) above demonstrate why the applied filters were not effective after publishing the report to the cloud

Anonymous
Not applicable

Hi @Anonymous 

 

Can you please check if you have the data type as below. IF not please change and retry

pranit828_0-1597861953428.png

 

Anonymous
Not applicable

Hi @pranit828

Thanks for the response, I get visual error when changing data type to "True/False" Error: The function count cannot work with values type boolean

Anonymous
Not applicable

HI @MatlolHG

This might be because of the data present in that column or measure whihc is an invalid True/False.

I always use 1 and 0 for that case and create a function to display true for 1 and false for 0

IF([COL]=1,"True","False")

Anonymous
Not applicable

Hello @pranit828

Sorry for the delay in response

As you advised,

I added a new conditional column to change the desktop attribute values from "True" or "False" to "0" or "-1" and reised the report.

Power Query Used: Table.AddColumn(-"Filtered Rows", "ColumnName", each if [ColumnName] á true then 0 else if [ColumnName] á false then -1 else null)

amitchandak
Super User
Super User

@Anonymous , Typically these republish error goes away with clear cache and refresh. Check that out, if this can work for you.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.