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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DAVID_DART
New Member

SUM of measure with filter

Hello

 

I would like to manage the sum of the measure (being the result of the line) depending on the customer

 

CUSTOMERLINEMEASURE
A110
A220
B115
B230

 

thanks for your help

6 REPLIES 6
smpa01
Super User
Super User

Improve your question, if you want faster solution. Start here 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
ArchanaMukherji
Regular Visitor

Use Calculated DAX function CustomersA= Calculate(SUM(Measure)), Customers="A")

I have hundreds of customers, the filter shall be variable

hi @DAVID_DART 

how is your measure defined?

hi @FreemanZ 

 

thanks for following up

my table looks in real as follows 

DAVID_DART_2-1677742051545.png

 

the measure is

Moyenne de Prod annuelle par LIGNE =
AVERAGEX(
    KEEPFILTERS(VALUES('Parc Machines'[LIGNE])),
    CALCULATE(AVERAGE('Parc Machines'[Prod annuelle]))
)

 

I need to have a measure which is the subtotal per customer.

 

does that make sense?

 

DAVID_DART
New Member

I specify more... I want to generate a new measure to have a table as follows

 

CUSTOMERSUM OF MEASURE
A30
B45

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.