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

Column not Calculating Correctly

1.PNG

 

No matter the employee size per company, my calculated column just says everybody has a size of 0-50 even though that's clearly not true. Why is it doing this?

3 REPLIES 3
Anonymous
Not applicable

 Hi @Anonymous,

 

Did this measure which used in calculated column calculate dynamic result based on slicer?

 

If this is a case, current power bi not support to create a dynamic calculate column/table based on slicer,  dynamic dax formula will been fixed as static value when you use it in calculated column/table.

 

Regards,

Xiaoxin Sheng

themistoklis
Community Champion
Community Champion

@Anonymous

 

can you create a measure with a formula like this:

 

measure = if ( sum(employee_count) >0 && sum(employee_count) <=50, "0-50" etc

 

 

markus_zhang
Advocate III
Advocate III

Just curious, do you have data that shows negative numbers? If not maybe you can remove the second IF() and see what happens.

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.