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
OlegP
New Member

Matrix Min&Max by different aggregation in the same table

I would appreciate a little help on the following topics

  1. Create Conditional Formatting for min & max values for each row for each aggregation (group by)
  2. Add new calc column at the end of the pivot table (for example STDV for each row) for each aggregation (group by)
  3. File Here
1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @OlegP ,

You can try to use following measure formula to replace original value field and enable conditional formatting on it.

Measure =
IF (
    ISINSCOPE ( Sheet1[TypeString] ) && ISINSCOPE ( Sheet1[GroupNLPRuleName] )
        && ISINSCOPE ( Sheet1[NLPRuleName] ),
    COUNT ( Sheet1[ExpertOperationID] ),
    IF (
        COUNT ( Sheet1[ExpertOperationID] ) > 0,
        STDEVX.S (
            SUMMARIZE (
                Sheet1,
                [TypeString],
                [GroupNLPRuleName],
                [NLPRuleName],
                "Count", COUNT ( Sheet1[ExpertOperationID] )
            ),
            [Count]
        )
    )
)

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
OlegP
New Member

I would appreciate for help on the following topics

  1. Create Measure (for conditional formatting) for min & max values for each row for each aggregation (group by) in the matrix. 
  2. Add new calc column at the end of the matrix (for example STDV for each row) for each aggregation (group by)

ExampleFile

Anonymous
Not applicable

HI @OlegP ,

You can try to use following measure formula to replace original value field and enable conditional formatting on it.

Measure =
IF (
    ISINSCOPE ( Sheet1[TypeString] ) && ISINSCOPE ( Sheet1[GroupNLPRuleName] )
        && ISINSCOPE ( Sheet1[NLPRuleName] ),
    COUNT ( Sheet1[ExpertOperationID] ),
    IF (
        COUNT ( Sheet1[ExpertOperationID] ) > 0,
        STDEVX.S (
            SUMMARIZE (
                Sheet1,
                [TypeString],
                [GroupNLPRuleName],
                [NLPRuleName],
                "Count", COUNT ( Sheet1[ExpertOperationID] )
            ),
            [Count]
        )
    )
)

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors