cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
annapurna Regular Visitor
Regular Visitor

dax expression

hi,

i am new to power bi.can any one help me how to calculate sumof sales with two regions(east and west) using dax formula?

thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: dax expression

Hi @annapurna

 

Try this

 

=
CALCULATE ( SUM ( TableName[Sales] ), TableName[Region] IN { "EAST", "WEST" } )
1 REPLY 1
Super User
Super User

Re: dax expression

Hi @annapurna

 

Try this

 

=
CALCULATE ( SUM ( TableName[Sales] ), TableName[Region] IN { "EAST", "WEST" } )

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 268 members 2,705 guests
Please welcome our newest community members: