Forum Discussion

sandyvash's avatar
sandyvash
New Member
5 years ago

Creating a Column for Combo Orders Vs Single Order

Hello

I am new to POWER BI and trying to cerate a columns for Orders that conatin multiple items as "Combo order" and the one that has one item as "single order".

The tables are as indiacted below

Order Table

IdDate Created
16/23/2021
26/23/2021
36/22/2021

 

OrderItem Table

Id Date CreatedOrderID
A6/23/20211
B6/23/20211
C6/23/20212
D6/23/20212
E6/22/20213

 

Can someone help me with this?

2 Replies

  • Swiftglade's avatar
    Swiftglade
    Frequent Visitor

    Try doing a groupby.

    Right click on your data source, go to "Edit Query".

    At the top, before or after your cleansing of data, you can click "Group By".

    This will let you organize your data by grouping it, based on Order. 

  • Swiftglade The data is grouped in the order item table, But I need a column to show next to each order/order item if it is a Combo order or Single order