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
MrNeverland
Regular Visitor

Conditional formatting, no value to select

Hey everybody,

 

I have an issue with conditional formatting. Before I created the table in the code, it worked fine. Now, I cannot select a value for the rules, and the selecting box it is highlighted in red. I have never had this issue before and think it might be related to the calculated table. However, it doesn't make any sense. Can anyone help me with this? I deleted the table, but the problem persists, so there must be another issue.

 

Here is the DAX code for the table:

 

 

 

 

InterpolatedData = 
VAR ProjectTable = FILTER(
    'GetHglDchExportData',
    NOT(ISBLANK([ConstructionStart])) &&
    NOT(ISBLANK([ConstructionEnd])) &&
    NOT([State] IN {"ungesichert", "ab 2 Jahre Garantie", "ab 5 Jahre Garantie", "Absagen"})
)
RETURN
    GENERATE(
        ProjectTable,
        VAR StartDate = [ConstructionStart]
        VAR EndDate = [ConstructionEnd]
        VAR VolumePerDay = [DailyOrderVolume]
        VAR ProjectId = [ProjectId]
        VAR Descriptio = [Description]
        RETURN
            SELECTCOLUMNS(
                CALENDAR(StartDate, EndDate),
                "Datum_daily", [Date],
                "Volume_daily", VolumePerDay
            )
    )

 

 

 

 

MrNeverland_0-1719568827569.png

 

 

 

Thank you in advance for your help!

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @MrNeverland 

Conditional Formatting is available when the column specified with any aggregate function or it's a measure. In your scenario, you can set one aggregate function for the Amount column, eg: Sum. Then you can see the Conditional Formatting is available.

For more specific assistance :

please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

@Ritaf1983 thanks for your reply - true, here are the two files WeTransfer (I didn't find any way to insert the files in the post.)

- PowerBI dummy

- Exceldata dummy

 

A further problem is, I cannot choose a visual and then drag & drop the data from GetHglDchExportData and the other calculated table. I always have to select firstly the value and then change the visual. Super annoying. And there are some more of these problems. I have the feeling that the tables and data is corrupted. I even tried copying the powerbi and start over. same problem here. It might be the calculated columns in GetHglDchExportData? But I never had this issue before.

 

Hope the data helps. 

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.