Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Here i have added Segment column and Totalorder dax function.Now i want add "Standard Class" from the Ship Mode as a new under under Home Office.Can anyone pls help me on this.
Solved! Go to Solution.
Hi, @Bhavyasree
Not fully sure what you want.
Maybe you need add another table like:
Table 2 = UNION(VALUES('Table'[Segment]),{"Standard Class"})
Then count the total orders based on this new table.
NewTotalOrders =
IF (
MAX ( 'Table 2'[Segment] ) IN VALUES ( 'Table'[Segment] ),
CALCULATE (
COUNT ( 'Table'[Order ID] ),
'Table'[Segment] = MAX ( 'Table 2'[Segment] )
),
CALCULATE ( COUNT ( 'Table'[Order ID] ), 'Table'[Ship Mode] = "Standard Class" )
)
Please check if attached pbix could work for you.
Best Regards,
Community Support Team _ Eason
Hi, @Bhavyasree
If I understand you correctly, you may need to drag field "Ship Mode" to the row of Matrix.
Best Regards,
Community Support Team _ Eason
Thanks for your reply but I dont want to add Ship Mode Column.I want to add only "Standard Class" From the ShiMode column.
Hi, @Bhavyasree
Is this what you want? If so, try to filter data in the filter pane of this table visual.
Best Regards,
Community Support Team _ Eason
I dont want Hierarchy also ...I want it to add it as a new row under Home Office Segment. I think i need to do groupby but im not sure about that .If it is correct please share the dax function of Groupby.
Hi, @Bhavyasree
Not fully sure what you want.
Maybe you need add another table like:
Table 2 = UNION(VALUES('Table'[Segment]),{"Standard Class"})
Then count the total orders based on this new table.
NewTotalOrders =
IF (
MAX ( 'Table 2'[Segment] ) IN VALUES ( 'Table'[Segment] ),
CALCULATE (
COUNT ( 'Table'[Order ID] ),
'Table'[Segment] = MAX ( 'Table 2'[Segment] )
),
CALCULATE ( COUNT ( 'Table'[Order ID] ), 'Table'[Ship Mode] = "Standard Class" )
)
Please check if attached pbix could work for you.
Best Regards,
Community Support Team _ Eason
This is what i want .Thank you so much.
I dont want Hierarchy also ...I want it to add it as a new row under Home Office Segment. I think i need to do groupby but im not sure about that .If it is correct please share the dax function of Groupby.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 84 | |
| 49 | |
| 38 | |
| 31 | |
| 30 |