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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.