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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors