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

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

Reply
prashantg364
Helper II
Helper II

DAX help

I have a data set as shown below.

Order IDOrder MessageOrder Product QuantityOrder Engg NameOrder CategoryOrder BucketDate
217794857DL_EE_T1_A10JamesPoor Light 5-4-21
217794857DL_EE_T1_A10James HW issue5-4-21
217794860DL_EE_T1_B8RozerPoor average 5-5-21
217794860DL_EE_T1_B8Rozer Bulb issue5-5-21
217794000DL_EE_T1_C20CharliePoor tire 5-1-21
217794000DL_EE_T1_C20Charlie HW issue5-1-21
217794100DL_EE_T1_D4BetaPoor color 5-7-21
217794100DL_EE_T1_D4Beta Quality issue5-7-21

 

I want to summarize the above table and need output as shown below. Kindly Help

 

Order IDOrder MessageOrder Product QuantityOrder Engg NameOrder CategoryOrder BucketDate
217794857DL_EE_T1_A10JamesPoor LightHW issue5-4-21
217794860DL_EE_T1_B8RozerPoor averageBulb issue5-5-21
217794000DL_EE_T1_C20CharliePoor tireHW issue5-1-21
217794100DL_EE_T1_D4BetaPoor colorQuality issue5-7-21



1 REPLY 1
Anonymous
Not applicable

Hi @prashantg364 

You can create a calculated table

Table 2 =
SUMMARIZE (
    'Table',
    [Order ID],
    [Order Message],
    'Table'[Order Product Quantity],
    [Order Engg Name],
    [Date],
    "Order Category",
        CALCULATE (
            MIN ( 'Table'[Order Category] ),
            'Table'[Order Category] <> BLANK ()
        ),
    "Order Bucket", CALCULATE ( MIN ( 'Table'[Order Bucket] ), 'Table'[Order Bucket] <> BLANK () )
)

Output

vxinruzhumsft_0-1681868004751.png

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.