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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
MarcoMizz
Frequent Visitor

SUMMARIZE DAX formula help

Hi Everyone

I have this DAX formula in order to create one new Table:

SUMMARIZE(fFLX,fFLX[CategoriaBDG],fFLX[G/L],fFLX[Period], "QTY", SUM(fFLX[Quantity]))

 
could you please help me in case I would like to have the SUM just for few [CategoriaBDG] value?  How I need to change the DAX expressione below?
 
regards
marco
3 REPLIES 3
MarcoMizz
Frequent Visitor

Thanks for the support!

ThxAlot
Super User
Super User

 

=
CALCULATETABLE(
    SUMMARIZECOLUMNS(
        fFLX[CategoriaBDG],
        fFLX[G/L],
        fFLX[Period],
        "QTY", SUM( fFLX[Quantity] )
    ),
    fFLX[G/L] IN { 1, 2, 3 }
)

 



Expertise = List.Accumulate(


        {Days as from Today},


        {Skills and Knowledge},


        (Current, Everyday) => Current & Day.LeanAndPractise(Everyday)


)



tamerj1
Super User
Super User

Hi @MarcoMizz 
Something like this

=
SUMMARIZE (
    FILTER ( fFLX, fFLX[CategoriaBDG] IN { "Value1", "Value2", "Value3" } ),
    fFLX[CategoriaBDG],
    fFLX[G/L],
    fFLX[Period],
    "QTY", SUM ( fFLX[Quantity] )
)

Helpful resources

Announcements
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.