Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a column chart of countries population data of 3 years (2018,2019,2020) and a slicer, if i select one country from slicer, as we know that population values will change in visual, but here i need to apply visual filter which has to keep 2019 year column data should be constant and remains two years 2018,2020 should change according to slicer selection, how its possible. thankyou in advance. please reply me
Solved! Go to Solution.
Hi @sudhav
Is this what you want? You need to create a measure like below to calculate the result based on different years. Use it in the column chart as values field.
Measure =
IF (
SELECTEDVALUE ( 'Table'[Year] ) = 2019,
CALCULATE ( SUM ( 'Table'[Population] ), ALL ( 'Table'[Country] ) ),
SUM ( 'Table'[Population] )
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @sudhav
Is this what you want? You need to create a measure like below to calculate the result based on different years. Use it in the column chart as values field.
Measure =
IF (
SELECTEDVALUE ( 'Table'[Year] ) = 2019,
CALCULATE ( SUM ( 'Table'[Population] ), ALL ( 'Table'[Country] ) ),
SUM ( 'Table'[Population] )
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Ya, it is working sir, but i need to get it in visual level filter only , not by using measure, is it possible sir??
please let me know if it is possible??
Thankyou in advance
Hi @sudhav
I'm afraid it is not possible to keep one column fixed without using measures. The visual level filter is applied to the whole visual. We need to use some filter functions in measures to get results that are not affected by some filters.
Regards,
Jing
ok thankyou
When the users selects a slicer, it filters the data. That is why columns disappear - the measures return blanks (2019 is filtered out for example).
You can modify the measure to ignore the filter. CALCULATE([Some Measure], REMOVEFILTERS('Date'[Year])) for example.
Or, you can create a shadow date table and you use those columns in the chart but filter the actual data.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingCheck out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 65 | |
| 50 | |
| 45 |