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

Help with Web URL Measure only when cells are not blank

My table data consists of text column where there are a list of Text Entries, not every row has data.

 

Fruit

apples
 
strawberries
grapes
 
oranges

 

I have a used this measure for Web URL's 

Web URL3 = "https://mywebsite.com/browse/" & MAX('Test'[Fruit])
 
Which returns these results:
JSWILCOX1980_0-1700717401475.png

what i would like to achieve is within the measure, to have an If Statement that says if Fruit column contains blanks then do not return URL

 

Any help or guidance would be greatly appreciated.

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @JSWILCOX1980 
Modify the measure for :

Web URL4 = if (ISBLANK( max('Test'[fruits])), "","https://mywebsite.com/browse/" & MAX('Test'[fruits]))
or :
Web URL3 = if ( max('Test'[fruits])= "", "","https://mywebsite.com/browse/" & MAX('Test'[fruits]))
Depends on the reason for the blanks in the visual
 

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

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @JSWILCOX1980 
Modify the measure for :

Web URL4 = if (ISBLANK( max('Test'[fruits])), "","https://mywebsite.com/browse/" & MAX('Test'[fruits]))
or :
Web URL3 = if ( max('Test'[fruits])= "", "","https://mywebsite.com/browse/" & MAX('Test'[fruits]))
Depends on the reason for the blanks in the visual
 

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

Rita, This was fantastic and so simple, i was trying to make much more difficult than what you provided!  I used your first suggestion and it worked flawlessly.  I am actually quantifying Jira Data and Not every entry is linked to an Epic, so if that data wasnt entered it doesnt exist, that is the reason for the blanks,  It can and should be updated by my team to have this data so the first solution will work once we have that running.  Again, Thank you!

Hi @JSWILCOX1980 

Glad to help 🙂

There is a philosopher who said that life is not as simple as we think, but much simpler.❤️

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

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