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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

How to make a static column for the table?

Hello! I have a slicer with the region names and table which sums up data from regions.

manap_0-1613263362745.png

Now, I want to make it in such a way that if the slicer selected, then only the Region column values change, country column values must be static (to compares with the region and country values )for all region changes. How can I do that?

1 ACCEPTED SOLUTION

@Anonymous 

Please see the attachment. Hope it is helpful.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

11 REPLIES 11
Shishir22
Solution Sage
Solution Sage

Hello @Anonymous,

 

Can you please try using measure with ALLEXCEPT?

Something like-

 

Country= Calculate(Sum(table[values] ), allexcept(table, table[region])

 

Thanks! 

Cheers,
Shishir
Anonymous
Not applicable

@Shishir22 what if I have to columns: one for country and another is regions with values?

ryan_mayu
Super User
Super User

@Anonymous 

Do you mean that you have 4 regions? and no matter what region you choose, you want to show all country's value?

Could you please provide the expected output in details?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@ryan_mayu 

I have data for regions and for the country(total of regions). I want to make a dynamic region column, while the country column has to be static. With this, users can see the difference between region and country. So, the region column has to change, while the country column has to be static. 

manap_0-1613289126634.png

When the region not selected within the slicer, both columns have to be equal, but when selected, the region column has to show appropriate values for the selected region. 

manap_1-1613289257952.png

I selected the region from slicer, data in the table changed, but I want to be country column to be static.

@Anonymous 

have you tried remove remoefilters

something like:

calculate([country measure],removefilters....)

https://docs.microsoft.com/en-us/dax/removefilters-function-dax





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@ryan_mayu What if I have column country instead of measure?

@Anonymous 

if it's in the same table visual, i think you need to create a measure. If not, you can change visual interact

https://docs.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@ryan_mayu I have two different columns in one table as: Table[Region], Table[Country]

@Anonymous 

then I think you need to create a measure for the country value.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@ryan_mayu how should I create that? I mean the equation

@Anonymous 

Please see the attachment. Hope it is helpful.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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