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
ambillate
Frequent Visitor

How to create a measure based on Row Value

Hi, Good Day.

 

I am a newbie in Power BI.

Is it possible to combine the three formulas in one measure?

 

ambillate_0-1613986417173.png

 

For Example, to find the Percentage for every type

Type A = (X+Y)/2

Type B = (W+X)/2

Type C = (U+V)/2

 

Thank You.

 

1 ACCEPTED SOLUTION
lkalawski
Super User
Super User

Hi @ambillate 

Yes, you can use SELECTEDVALUE function or MAX function. 

For Example: 

SWITCH(SELECTEDVALUE(Table[Type]),
"A", Formula 1,
"B", Formula 2,
Other)



PBI_SuperUser_Rank@1x.png Proud to be a Super User.
If I helped, please accept the solution and give kudos
Linkedin

 

View solution in original post

3 REPLIES 3
ambillate
Frequent Visitor

Thank You 🙂

lkalawski
Super User
Super User

Hi @ambillate 

Yes, you can use SELECTEDVALUE function or MAX function. 

For Example: 

SWITCH(SELECTEDVALUE(Table[Type]),
"A", Formula 1,
"B", Formula 2,
Other)



PBI_SuperUser_Rank@1x.png Proud to be a Super User.
If I helped, please accept the solution and give kudos
Linkedin

 

Hi, @lkalawski,

 

Thank You so much for your help.

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.