cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors