cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AtulSutar
New Member

New measure Dax formula needed

I have OLAP source file and in that file, I want to have the sum of the particular item group. 

 

e.g. there are many item groups like 72absc, 72dmap, 40abds, 23asrt and there is sales value for these group.

 

I need sum of values only for 72dmap item group.

 

Kindly help.

1 ACCEPTED SOLUTION
BA_Pete
Super User
Super User

Hi @AtulSutar ,

 

Try a measure like this:

_72dmapSales =
CALCULATE(
    SUM(yourTable[Sales]),
    yourTable[Item Group] = "72dmap"
)

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
BA_Pete
Super User
Super User

Hi @AtulSutar ,

 

Try a measure like this:

_72dmapSales =
CALCULATE(
    SUM(yourTable[Sales]),
    yourTable[Item Group] = "72dmap"
)

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors
Top Kudoed Authors