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 September 15. Request your voucher.

Reply
jayjani
Helper I
Helper I

Pulling 2 different values in a single column

I have a table as shown in the below image. I want to add a 5th column "Total", which pulls the latest quarter value for Owned HC and sum total for Owned Cost. Example, for the month July, it should pull Q3 value (495) for Owned HC and 53.32 for Owned Cost.

 

I found the code to pull latest Owned HC (that is

Latest Owned HC =
Var CurrMonth = [CMonth]
Var CurrQuarter = [CQuarter]
Return
CALCULATE(AVERAGE('DAC Unpivot'[Value]), 'DAC Unpivot'[Transfer Org] = "Owned HC", 'DAC Unpivot'[Month No] = CurrMonth, 'DAC Unpivot'[Quarters]= CurrQuarter))
 
However, I don't know how can I get the Latest Owned HC and Sum total of Owned Cost in the same column?

 

image.png

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @jayjani ,

 

kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors