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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Roy_tap
Helper I
Helper I

Unable to create report from 2 Transaction tables connecting to a master table

Hi,

I was trying to create a report based on 2 trx tables connecting to one master table using the same Key as shown below:

 

Roy_tap_0-1606454066638.png

 

The sample data is as follows:

 

MST_FA  TRS_FA   TRS_PO   
FAIDFANAME AMTFADATEFAID FAIDPOAMTPOLPOLNAME
F001F001 1002020/11/11F001  100P001POL001
F002F002 2002020/12/13F001 F002300P002POL002
F003F003 3002020/11/11F002 F002400P003POL003
   4002020/12/13F002     

 

How can I achieve the following report with following fields as follows.

FAID    FADATE          POL      AMT    POAMT

 

I am getting error once i insert POL into the report.

Thanks.

1 ACCEPTED SOLUTION

Hi, @Roy_tap 

 

You can merge the two tables in PQ, then display the required fields, and use the new table directly to create visuals in the desktop.

Like this:

4.png

3.png

Here is my sample .pbix file.Hope it helps.

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

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

6 REPLIES 6
v-janeyg-msft
Community Support
Community Support

Hi, @Roy_tap 

 

It’s my pleasure to answer for you.

According to your description,the data type of 'POL' column is text. When there are two different POLs under one FAID, they can't be aggregated, so an error is reported.You can choose other ways to display.

Like this:

4.png5.png

What do you want the POL column to display?

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Janey,

 

Thanks for your reply. Is this suppose to be how a relationship behaves? I understand that, by assigning one of the column i.e. either FADate set to Earliest OR POL set to First, it will work but somehow one of the value will be aggregated automatically. However, the result i am expecting is to have the records from both tables TRS_FA and TRS_PO to be displaced instead of aggregating one of them. From Database standpoint, it is like a 2 full Join for the 3 tables. 

 

Thanks

 

Best Regards,
Roy

Hi, @Roy_tap 

 

Do you want to show  like this:

6.png

Best Regards

Janey Guo

 

Hi Janey,

 

I am looking at something like the following:

FAID  FADate           POL      AMT        POAMT
F001  2020/11/11    -           100          -
F001  2020/12/13    -           200          -
F002  2020/11/11    P002    300          300
F002  2020/11/11    P003    300          400

F002  2020/12/13    P002    400          300

F002  2020/12/13    P003    400          400

 

Thanks.

Hi, @Roy_tap 

 

You can merge the two tables in PQ, then display the required fields, and use the new table directly to create visuals in the desktop.

Like this:

4.png

3.png

Here is my sample .pbix file.Hope it helps.

If it doesn’t solve your problem, please feel free to ask me.

 

Best Regards

Janey Guo

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Roy_tap , Take sum(TRS_FA[AMT]) and Sum(TRS_PO[POAMT])

take other column as is and try.

You can take ungroupped column either from TRS_PO, TRS_FA.

In this can you have one from TRS_PO - POL 

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors