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

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

Reply
tatianawolfe
New Member

Data for calculated columns only showing in desktop and not web

I added a new column to my table that counts a set of TRUE/FALSE columns by returning a numerical count. 

 

"Error Count = IF('Merit IPQI'[Chassis]="TRUE",1,0)+IF('Merit IPQI'[Gearbox]="TRUE",1,0)+IF('Merit IPQI'[Front Axle]="TRUE",1,0)+IF('Merit IPQI'[Pillow Block Bearing]="TRUE",1,0)..."

 

This column works great in desktop, but when I publish into My Workspace and access through PowerBi web, my visuals don't reflect the data within any of my columns with measures. 

 

How do I fix this issue? I tried creating columns in Query Editor and the column only returned 0s (no values counting the TRUE/FALSE)

1 ACCEPTED SOLUTION

Thank you! I realized there were some columns included in the filters for these visuals. That was keeping them from displaying in web. I removed those filters and they are now working.

 

Appreciate your work!

View solution in original post

9 REPLIES 9
tatianawolfe
New Member

First image is what I see on web.

Second image is what I want to be shown. 

My calculated columns consist of IF statements like this: 

Hydraulic Lift Cylinder Count = IF('Quality Issue Tracker'[Hydraulic Lift Cylin]="TRUE",1,0)
 
The data is pulled from SharePoint and is being published to My Workspace

tatianawolfe_0-1753912760899.png

tatianawolfe_1-1753912787499.png

 

Hi @tatianawolfe ,

 

If your calculated columns are working in Power BI Desktop but not in the Power BI Web Service, check that you're comparing the correct data types. Using text values like "TRUE" in your DAX formula can lead to issues, especially if your data source, such as SharePoint, returns Boolean values (true or false). Instead of comparing to the string "TRUE", use the Boolean value TRUE() or simplify your expression. This should help ensure your visuals display the correct data in both Power BI Desktop and the Power BI Service.FFor example, instead of using IF('Merit IPQI'[Chassis] = "TRUE", 1, 0), you should use IF('Merit IPQI'[Chassis] = TRUE(), 1, 0) or simply IF('Merit IPQI'[Chassis], 1, 0). With this approach, your updated formula would be:

Error Count =  
    IF('Merit IPQI'[Chassis], 1, 0) +  
    IF('Merit IPQI'[Gearbox], 1, 0) +  
    IF('Merit IPQI'[Front Axle], 1, 0) +  
    IF('Merit IPQI'[Pillow Block Bearing], 1, 0)

Best Regards,
Tejaswi.
Community Support

 

Your second solution seemed to work for some of my visuals, but for some reason only two of them are not working now. The weird thing is that they are also using the same Measure.

 

tatianawolfe_0-1754000745328.png

 

Hi again@tatianawolfe,

 

 Thank you for sharing the screenshots. Based on my review of your logic and visuals, the issue appears to be related to how Power BI processes Boolean values, particularly after publishing to the Service. I replicated your scenario with similar data and found that handling Boolean fields directly in DAX without text comparisons produced consistent results. Once I updated the logic, the visuals displayed correctly both locally and on Power BI Web.

Be sure to refresh the dataset in the Service after publishing, as calculated columns may not update fully until that step is completed. With this approach, all elements, including slicers and bar charts, functioned as intended.
I’m confident this solution will resolve the issue on your end as well.


Please find the attached PBIX and Screenshort file for your reference.

vtejrama_0-1754292660707.pngvtejrama_1-1754292680717.png

Best Regards,
Tejaswi.
Community Support

Thank you! I realized there were some columns included in the filters for these visuals. That was keeping them from displaying in web. I removed those filters and they are now working.

 

Appreciate your work!

Hi @tatianawolfe ,

 

Thank you for the update. I’m glad to hear that removing the filters resolved the issue and that the visuals are now working correctly in the Power BI Service.

 

Thank you.

 

Hi @tatianawolfe ,

 

Glad to know the issue has been resolved. Could you share the solution that worked for you? This will help other community members who might face the same situation.

Thank you.

Hi @tatianawolfe ,

 

Great to hear your issue is resolved. Could you please share the steps or solution that worked? It will be useful for others with a similar problem.

Thank you.

 

FBergamaschi
Solution Sage
Solution Sage

Please show the issue with images and a clear explanation of what you want to get

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors