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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Problems with my Selectedvalue measure

Hello Community,

 

im currently struggeling with the following Selectedvalue Measure i have created:

 

Measure 2 = IF(SELECTEDVALUE('nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[Verkäufercode])="HORSTERU",SUM('nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[DB2 (MW)]),[Measure])
 
what im currently struggeling is that i want the selectedvalue to not only be Horsteru (as shown in the measure) but want to the measure to apply to two other names in the 'nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[Verkäufercode] collum. Would this be possible with the selectedvalue function ? 
 
Could you please help me with this situation as i cannot seem to solve it.
 
Thank you very much in advance.
Philip 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You can try meausre like

 

Measure 2 = IF("HORSTERU" in Values('nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[Verkäufercode])
|| "HORSTERU" in Values('nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[Verkäufercode 1])
,SUM('nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[DB2 (MW)]),[Measure])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , You can try meausre like

 

Measure 2 = IF("HORSTERU" in Values('nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[Verkäufercode])
|| "HORSTERU" in Values('nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[Verkäufercode 1])
,SUM('nav1029 V_VK-Umsatz Details DIENSTLEISTUNG'[DB2 (MW)]),[Measure])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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