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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
elleneal
Frequent Visitor

DAX Formula

Hi,

 

I am not able to create a calculation as it would appear in Excel. 

 

I would like a calculated column to return a value with 1 filter applied for the row language (column A) and another filter applied for Tier|LOB (column B). 

 

Capture.PNG

 

 

 

 

 

 

As you can see from the table above, the column is providing me with the value for 'T2 1' for the language in the row and ignores the Tier|LOB in the row. When i use the sumif within Excel this works perfectly but when i apply the same formula using Calulate and Sum or SumX and applying the filters it just gives me the value of T2 1 in that row only (see example below).

Capture2.PNG

 

 

 

 

 

 

The purpose of the calulcation is for an if formula. if the row is T1 1 then give me the value for T2 1 for that language.

 

Thank you very much for your support.

 

Elle

1 ACCEPTED SOLUTION
andris_
Resolver I
Resolver I

Hi @elleneal,

 

Please try out the following DAX formula:

 

Sum if T2 1= LOOKUPVALUE(Datasheet[Extra Calls];Datasheet[Language];Datasheet[Language];Datasheet[Tier|LOB];"T2 1")

 

Regards,

Andris

View solution in original post

2 REPLIES 2
andris_
Resolver I
Resolver I

Hi @elleneal,

 

Please try out the following DAX formula:

 

Sum if T2 1= LOOKUPVALUE(Datasheet[Extra Calls];Datasheet[Language];Datasheet[Language];Datasheet[Tier|LOB];"T2 1")

 

Regards,

Andris

You are amazing! Thank you so much Smiley Happy

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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