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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Mack1int
Frequent Visitor

Dynamic XYZ Analysis

Good Afternoon All,

 

 I recently been creating a data model using the dynamic abc classification on dax patterns, as well with the help of the powerbi community. I am now turning my attention towards creating a data model that does the same for xyz analysis, I have tried changing some of the measures from the ABC model however I am still not getting the results that the ABC model would give. I was just wondering whether any of you guys had any experience on making such a model for xyz analysis?, from what I have been reading there has been a limited amount of work done into this type of analysis using dax and powerbi. Any help would be greatly appreciated. 

 

Many Thanks,

 

Mack1int

5 REPLIES 5
Nikkky
Frequent Visitor

Hello.

What is mean BLANK ащк XYZ Classification in your formula?

Paola1
Frequent Visitor

Hi @Mack1int,

I read that you did the ABC dynamic analysis. I might ask you if you could share the file or explain how you did it?
I am also doing that analysis and I can't get out of it and I will have to do the xyz analysis as well.

 

Thank you

popov
Resolver III
Resolver III

I have realization of xyz analysis for retail. If you share your sample file, I will try to help you.

My formula of XYZ Measure:

 

XYZ :=
VAR CalcTable =
    ADDCOLUMNS (
        SUMMARIZE ( 'Retail Sales'; 'Calendar'[Month] );
        "QuantityByMonth"; CALCULATE ( SUM ( 'Retail Sales'[Quantity] ) )
    )
VAR Variation =
    DIVIDE (
        STDEVX.P ( CalcTable; [QuantityByMonth] );
        AVERAGEX ( CalcTable; [QuantityByMonth] )
    )
RETURN
    IF (
        ISBLANK ( Variation );
        BLANK ();
        IF ( Variation > 0,4; "Z"; IF ( Variation > 0,2; "Y"; "X" ) )
    )

You can change grouping Month to you need. Hope this help you.

Nikkky
Frequent Visitor

Hello

What is mean BLANK in your formula?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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