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
agraffeo21
Helper I
Helper I

Default labeling

I would like to make the default in the matrix to the U.S., but every time I try to form an interaction, it lists all of the countries. I never want it to list any country -- I want to be able to click on a country, and have the matrix show that one country. Then when I click on the globe, I want the matrix to show the US average -- not a list. Please help.

 

Thanks.

consumer sentiment visual forum.pngconsumer sentiment visual forum 2.png

 

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee

@agraffeo21

 

Please see a workaround with two measures as below.

AVG Measure =
IF (
    HASONEVALUE ( Table1[country] ),
    AVERAGE ( Table1[pcis] ),
    AVERAGEX ( FILTER ( Table1, Table1[country] = "USA" ), Table1[pcis] )
)
Country measure =
IF (
    HASONEVALUE ( Table1[country] ),
    LASTNONBLANK ( Table1[country], 0 ),
    "USA"
)

Capture.PNG

 

Please accept it as solution if it answers your question. For any other questions, feel free to let me know.

@Eric_Zhang thank you for the response.

 

I tried the solution multiple times but keep getting "couldn't load the data for this visual." do I need to make any relationships with the data in the graph? Should my "country" column be the same one as the "country" column linked to the graph?

 

Here is a screenshot of the error.

 

Thank you.

 

consumer sentiment visual forum 3.png

@agraffeo21

 

What are the measures' expressions like in your case? Make sure "HASONEVALUE ( Table1[country] )" has the same country column with country in the filled map visual.

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.