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

Conditional formatting not working as expected

I have a report which is a .pbit (connects to ADO data) - when a user loads the report they have a particular page that has a table visual which has conditional formatting. When the report first loads it looks like so, which is incorrect as all rows should be green:

 

error1.jpg

 

When I change the date (but not the other two slicers) it updates:

 

Error2.jpg

 

The table being used is called 'Weeks' which is created via:

 

Weeks = GENERATESERIES(1,16,1)

 

 

The column is:

 

Future = TODAY()+Weeks[WeeksMultipliedBy7]

 

 

With a measure of:

 

WeeksMultipliedBy7 = SUMX(Weeks, Weeks[Weeks] * 7)

 

 

How can I get it so that upon report load the table conditional formatting shows correctly?

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous,

Current power bi desktop support to create dynamic calculated column/table based on filter effects. They do not work on the same level, and you can't use the child level to affect their parents.
For measure expressions, they can dynamic calculated based on current row and filter contents, but their result will be fixed to static values if you invoke them in calculated columns.

Row Context and Filter Context in DAX - SQLBI

Notice: the data level of power bi(from parent to child level)

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table) -> data view with virtual tables(measure, visual, filter, slicer)

Regards,

Xiaoxin Sheng

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.