cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
raghunandan
Helper II
Helper II

WebURL does not work if cell is blank

I have a key column and associated keyURL column in the table. I have configured the table with conditional formatting for key column such that the keyURL link is used as a hyperlink. I have also set Totals=On and summarized the Time Spent column. 

 

As you can see in the table visual, when time spent is null I no longer have URL visible for the key, Looks like a bug in Power BI.

WebURLMissing.jpg

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

In your time spend formula add +0 and try

 

time spend = <Current calculation> + 0

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

2 REPLIES 2
micahfrance
Frequent Visitor

This bug is still around as of the October 2021 release.

As long as the row has at least one measure that returns a result the link will work. If none of the measures in the row return a result then the link does not appear. Since sometimes adding a zero to a measure brings back data you don't want, an alternative is to use a measure to generate what what would normally only be in a column. For example if you had a "type" for each of the "keys" you could created a measure:

mType = FIRSTNONBLANK(keys[type],TRUE())

 

Using the "mType" measure in a table would show the same text as putting "type" in as a column, but it would allow the row to have at least one measure with a result without having to add zeros to a numeric measure.

amitchandak
Super User
Super User

In your time spend formula add +0 and try

 

time spend = <Current calculation> + 0

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors
Top Kudoed Authors