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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.