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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Ahmad7886
Frequent Visitor

Default line chart Behavior

I am trying to make dashboard have a score card and a line with two other componenets, i am facing issue, if there is no selection of a country on wordcloud or on the map, the score card shows first value Argentina on card but the value underneath is the average value, and the line chart shows country name as Argentina and the line on the chart is the average of the data. how to handle this issue? why didnt score card and line chart shows the data of the Argentina?

here is the default behavior snapshot:

Ahmad7886_0-1707889598550.png

however the desired is:

Ahmad7886_1-1707889623852.png

 

 

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Ahmad7886 ,

Based on your description, the scorecard seems to show data for Argentina by default, but when no country/region is selected, the line graph displays the average instead of Argentina-specific data. There are several steps you can take to troubleshoot and resolve this inconsistency:

 

1. You can create a metric that you can use to check if a country/region is selected, and if it is not, it defaults to data for Argentina. Use this metric as a filter for scorecards and line charts to make sure they show the same data.
Here is an example of a DAX formula you might use:

SelectedCountry = IF(ISFILTERED('YourTable'[Country]), MAX('YourTable'[Country]), "Argentina")

 

2. Make sure the slicers are properly synchronised. When a selection is made on one slicer, it should be reflected on all other visual objects.
You can use the Edit Interactions feature in Power BI to manage how selections in one visual object affect other visual objects:

Use report themes in Power BI Desktop - Power BI | Microsoft Learn

 

3. Check if there are any default settings or filters applied to the line charts that may cause the line charts to show the average value instead of the data for a particular country/region.

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

1 REPLY 1
Anonymous
Not applicable

Hi @Ahmad7886 ,

Based on your description, the scorecard seems to show data for Argentina by default, but when no country/region is selected, the line graph displays the average instead of Argentina-specific data. There are several steps you can take to troubleshoot and resolve this inconsistency:

 

1. You can create a metric that you can use to check if a country/region is selected, and if it is not, it defaults to data for Argentina. Use this metric as a filter for scorecards and line charts to make sure they show the same data.
Here is an example of a DAX formula you might use:

SelectedCountry = IF(ISFILTERED('YourTable'[Country]), MAX('YourTable'[Country]), "Argentina")

 

2. Make sure the slicers are properly synchronised. When a selection is made on one slicer, it should be reflected on all other visual objects.
You can use the Edit Interactions feature in Power BI to manage how selections in one visual object affect other visual objects:

Use report themes in Power BI Desktop - Power BI | Microsoft Learn

 

3. Check if there are any default settings or filters applied to the line charts that may cause the line charts to show the average value instead of the data for a particular country/region.

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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