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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors