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
Anonymous54321
New Member

Return a single value from multiple rows with SOME identical columns

Hello, my 1st time posting here.

Can you please help me create a DAX measure to return Qty required from the data table, disregarding the other 2 columns? If those highlighted columns have identical values, they would also have identical "qty required", I only need it to show once in my report. 

I know this can be grouped in Power Query, but my data is connected to a live env. Thank you so much!

tmp_d20ffa2d-b785-4436-b7e2-ad636f91c361.jpeg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous54321 ,

Below is my table:

vxiandatmsft_0-1700874751071.png

The following DAX might work for you:

Measure = 
   SELECTEDVALUE('Table'[Status])

The final output is shown in the following figure:

vxiandatmsft_1-1700874810770.png

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous54321 ,

Below is my table:

vxiandatmsft_0-1700874751071.png

The following DAX might work for you:

Measure = 
   SELECTEDVALUE('Table'[Status])

The final output is shown in the following figure:

vxiandatmsft_1-1700874810770.png

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I appreciate your help, thank you so much. I realized that this is not really my main problem. I'd like to create a measure (Qty pending which is Qty required - received), and I want the result to be based on the output table. I created this measure and it worked, just not sure if its the best to way to write it 😁 

QtyPending= SELECTEDVALUE(Table[qty required])-SELECTEDVALUE(Table[qty received])

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.

Top Solution Authors