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
dpotta
Resolver I
Resolver I

Change a measure based on a slicer value for only one row

Hi

 

Please can anyone offer any hep with this?

 

I have a fact table as below

 

Country        Value

Nicaragua10
Mexico20
Honduras30
Guatemala40
El Salvador50
Ecuador60
Costa Rica70
Colombia80
Chile90
Brazil100
Bolivia110
Argentina120
Peru130
Paraguay140
Venezuela150
Uruguay160
Panama170

 

Then I have a slicer from a dim table for all countries which is connected to the fact table by country.

 

Connected Measure to change only the values for one country

What I am trying to do is to change the fact table value for only the selected country based  on a measure.

 

So, with the slicer in operation, the value for the selected country only would increase by a percentage. So, if a user here selected 

COSTA RICA, then the value for Costa rica only would increase as such based on another slicer which would multipy the original value by 1, 1.01, 1.02 1.03 etc.

 

 

Slicer  
012
0%1%2%
7070.771.4

 

VAlues for all other countries would remain the same, i.e. multiplied by 1

 

Any ideas?

 

Regards

 

Dave

1 ACCEPTED SOLUTION
dpotta
Resolver I
Resolver I

 have done what I needed with a measure like this used in conjunction with an unrelated second dimCountrytable and a slicer that filters on using selectedvalue

 

Projection =
SUMX ( example ,
IF ( example[Country] = [SELECTEDVALUE],
example[Value] * max(Multplier[multiplier]), example[Value] ) )

View solution in original post

1 REPLY 1
dpotta
Resolver I
Resolver I

 have done what I needed with a measure like this used in conjunction with an unrelated second dimCountrytable and a slicer that filters on using selectedvalue

 

Projection =
SUMX ( example ,
IF ( example[Country] = [SELECTEDVALUE],
example[Value] * max(Multplier[multiplier]), example[Value] ) )

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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