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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
PowerBIUser9901
Advocate II
Advocate II

Summarized Table Between Two Datasets

Hi, I need guidance in how I can create a summarized table between two datasets. Dataset 1 includes Sale #s and Item Count, while Dataset 2 contains Transactions #s and Item Count. There can be more than one transaction for each Sales#. The key in these datasets are the Date & Category.

 

The Screenshots below show the datasets and the desired output: (The colors show how the data is related between datasets)

Dataset.jpg

 

Desired output:

 

Desired Output.jpg

 

I tried to build a relationship using the Key (Date&Category) and create a Summairzed Table, however I could not get it to work. 

I included the PBIX file if that helps. Link Below:

https://onedrive.live.com/?authkey=%21AO0A56O38ZamOgM&id=5E807BAB3F3348D%21108&cid=05E807BAB3F3348D

 

I appreciate any help you can provide. Thank you!

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

Hi, @PowerBIUser9901 

I have tried to modify your formula, according to the conditions you provided,

if you filter the data by the key you created, you will get the following result

 

Result:

v-angzheng-msft_0-1617788600277.png

Calculate table =
SUMMARIZECOLUMNS (
    'Key'[Key],
    "Transaction Number",
        CONCATENATEX (
            VALUES ( 'Dataset 2'[Transaction#] ),
            'Dataset 2'[Transaction#],
            ","
        )
)

The data on July 2 cannot be distinguished by the key alone,

if you want to separate it you need more conditions.

 

 

Is this the result you want? Hope this is useful to you.

Please feel free to let me know If you have further questions.

 

Best Regards,
Community Support Team _ Zeon Zheng
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-angzheng-msft
Community Support
Community Support

Hi, @PowerBIUser9901 

I have tried to modify your formula, according to the conditions you provided,

if you filter the data by the key you created, you will get the following result

 

Result:

v-angzheng-msft_0-1617788600277.png

Calculate table =
SUMMARIZECOLUMNS (
    'Key'[Key],
    "Transaction Number",
        CONCATENATEX (
            VALUES ( 'Dataset 2'[Transaction#] ),
            'Dataset 2'[Transaction#],
            ","
        )
)

The data on July 2 cannot be distinguished by the key alone,

if you want to separate it you need more conditions.

 

 

Is this the result you want? Hope this is useful to you.

Please feel free to let me know If you have further questions.

 

Best Regards,
Community Support Team _ Zeon Zheng
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 is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.