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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
aquanr18
Frequent Visitor

Decompose Bundles into SKU'S

Hi, thanks alot for reading my post! 

As the subject describes I want to decompose some transactional data; my tables are

1) Transactional Data

 

Transaction TableTransaction Table

 

 

 

 

 

 

 

 

What I want is to be able to see how many real SKU's I'm selling. 

2) The BundlesTables; which tell's me what SKU are in the bundles and how the quantity

Bundle TableBundle Table

 

 

 

 

 

 

 

 

 

3) Result Table, Via DAX or the query editor I want to be able to get this table

Result TablleResult Tablle

 

Any Help will be much appreciated!

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@aquanr18,

 

You may add a calculated table first.

Table =
GENERATEALL (
    'Transaction',
    SELECTCOLUMNS (
        FILTER ( Bundle, Bundle[Bundle] = 'Transaction'[Product] ),
        "P2", Bundle[Product],
        "Q2", Bundle[Quantity]
    )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@aquanr18,

 

You may add a calculated table first.

Table =
GENERATEALL (
    'Transaction',
    SELECTCOLUMNS (
        FILTER ( Bundle, Bundle[Bundle] = 'Transaction'[Product] ),
        "P2", Bundle[Product],
        "Q2", Bundle[Quantity]
    )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.