Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
MichaelHill
Frequent Visitor

PBI Desktop Aug. 2020 - Web URL and Matrix Report does not work with conditional formatting

Hi,

I'm working with PBI Desktop August 2020 version and trying to use a Web URL within a matrix report.
I have a column "Date" and a row "Test_name". The values are KPIs to indicate wether a test was successful or not at a specific date.
Now I want to have a URL for these KPIs per test to point to a ticketing system i.e.
This works as long as I do not use the conditional formatting to make the KPI's look nice and as requested. It should be red, green and amber arrows indicating the test result.
As soon as I use the conditional formatting the KPI's look the way requested, but the URL link is gone.
Any suggestions how this could be resolved?
Thanks a lot!
Michael

2 ACCEPTED SOLUTIONS
Pragati11
Super User
Super User

Hello @MichaelHill ,

Can you add some screesnhots here please regarding your problem?

Thank you

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

v-alq-msft
Community Support
Community Support

Hi, @MichaelHill 

 

Based on your description, I created data to reproducce your scenario. The pbix file is attached in the end.

Table:

e1.png

 

You may create measures like below.

URL = 
SWITCH(
    SELECTEDVALUE('Table'[ID]),
    1,"https://www.google.com/",
    2,"https://www.daxformatter.com/"
)

Color Control = 
SWITCH(
    SELECTEDVALUE('Table'[ID]),
    1,"red",
    2,"green"
)

 

Then you may set the 'Data category' for 'URL' as 'Web URL' and conditional formatting the background of 'URL' as below.

e2.png

 

e3.png

 

Result:

e4.png

 

Best Regards

Allan

 

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

4 REPLIES 4
v-alq-msft
Community Support
Community Support

Hi, @MichaelHill 

 

Based on your description, I created data to reproducce your scenario. The pbix file is attached in the end.

Table:

e1.png

 

You may create measures like below.

URL = 
SWITCH(
    SELECTEDVALUE('Table'[ID]),
    1,"https://www.google.com/",
    2,"https://www.daxformatter.com/"
)

Color Control = 
SWITCH(
    SELECTEDVALUE('Table'[ID]),
    1,"red",
    2,"green"
)

 

Then you may set the 'Data category' for 'URL' as 'Web URL' and conditional formatting the background of 'URL' as below.

e2.png

 

e3.png

 

Result:

e4.png

 

Best Regards

Allan

 

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

Pragati11
Super User
Super User

Hello @MichaelHill ,

Can you add some screesnhots here please regarding your problem?

Thank you

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

amitchandak
Super User
Super User

@MichaelHill , was it working prior to August 2020 release?

 

Any know issue you can track at -https://community.powerbi.com/t5/Issues/idb-p/Issues

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi @amitchandak ,

can't tell as I haven't tried it with previous versions.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.