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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Mister_T
Advocate I
Advocate I

Matrix visual: Show values of one column (value) only for specific rows

Dear Forum,

I have defined in a Matrix visual
Rows:

  • "Continent"
  • "Country"
  • "Shop"

Values:

  • "Count_Subsidiaries"
  • "URL_Shop"

Now, I want to connect each Shop to its corresponding Web URL. But unfortunately at the Matrix visual, there is the first URL for each categroy presented at the subtotals, too (the name is changed to 'First_URL_Shop').

Is there an elegant way, to have the Web URLs only shown for the rows "Shop" and not as 'First_URL' also for the other categories?

 

URL only for 'Shop'URL only for 'Shop'

 

Thank you very much for your help!

Mister_T

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Mister_T ,

 

Based on your description, you can create a measure as follows.

Measure = IF(HASONEVALUE('Sheet4'[Continent]),MAX('Sheet4'[URL_Shop]))

Result:

 

v-yuaj-msft_0-1615793645891.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

Anonymous
Not applicable

Hi @Mister_T ,

 

Thanks for your reply. I modified the measure as follows.

modified_Measure = IF(ISINSCOPE('test for url'[Continent]),MAX('test for url'[URL_Shop]))

Result:

v-yuaj-msft_0-1617155130787.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

5 REPLIES 5
Anonymous
Not applicable

Hi @Mister_T ,

 

Based on your description, you can create a measure as follows.

Measure = IF(HASONEVALUE('Sheet4'[Continent]),MAX('Sheet4'[URL_Shop]))

Result:

 

v-yuaj-msft_0-1615793645891.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

 

Hi @Anonymous,

 

thank you very much for your support! Sorry for my late reaction. I unfortunately was not available for some time.

I have tested your solution, but unfortunately it only works in case there is more than one shop per country. In case there is only one shop listed in a specific country, then I still have an URL on country level. I would like to have the URL at the store level only, regardless of the number of stores per country. Any idea how to fix this?

Thanks a lot!

Best regards,

Mister_T

Anonymous
Not applicable

Hi @Mister_T ,

 

Thanks for your reply. I modified the measure as follows.

modified_Measure = IF(ISINSCOPE('test for url'[Continent]),MAX('test for url'[URL_Shop]))

Result:

v-yuaj-msft_0-1617155130787.png

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

Hi @Anonymous,

It works like a charm! Exactly, what I was looking for. Thank you very much!

Have a great day!

Mister_T

amitchandak
Super User
Super User

@Mister_T , you have to add them to rows. Or use table visual.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors
Top Kudoed Authors