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

Calculated Column Failure

Hello,

I am trying to calculate whether a distributor of mine is on my program or not. This can be calculated by seeing if the "gwp_distributor_lookup" is blank. If it is, then the distributor is not on my program. However, when I program my logic, the calculated column does not seem to calculating.

 

The below screenshot fairly well demonstrates my issue.

jfeddes_1-1656016380368.png

 

 

planned_distributor_check = 
IF(ISBLANK('2022_plan (10-2021)'[gwp_distributor_lookup])=True,"Planned For - Not on GWP", 
    IF(ISBLANK('2022_plan (10-2021)'[Distributor])=TRUE,"Not Planned For - on GWP","Planned For - on GWP"))

 

I can't use a measure because I need to incorporate the calculations into a measure. To my knowledge, you cannot use a measure in a slicer.

 

Any and all help would be greatly appreciated!

 

Thanks,

Joel

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Please refer to my pbix file to see if it helps you.

Create a column.

planned_distributor_check!! =
IF (
    ( 'Table'[gwp_distributor_llookup] ) = BLANK ()
        || 'Table'[Contributor] = BLANK (),
    "Planned For - Not on GWP",
    "Planned For - on GWP"
)

vpollymsft_0-1656299438979.png

If it does not help, please provide some sample data and your desired output (Preferably in picture form)

 

Best Regards

Community Support Team _ Polly

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

Please refer to my pbix file to see if it helps you.

Create a column.

planned_distributor_check!! =
IF (
    ( 'Table'[gwp_distributor_llookup] ) = BLANK ()
        || 'Table'[Contributor] = BLANK (),
    "Planned For - Not on GWP",
    "Planned For - on GWP"
)

vpollymsft_0-1656299438979.png

If it does not help, please provide some sample data and your desired output (Preferably in picture form)

 

Best Regards

Community Support Team _ Polly

 

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

Anonymous
Not applicable

Thanks Polly!!! Works great

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.

Top Solution Authors