Thanks Kranthi. Our VendTable doesn’t have TableId field and we have to go thru DirPartyTable. So, it’s not standard. I’m not really strong with DAX, I’m more SQL/SSRS expert. In SQL I would say
select
v.ACCOUNTNUM, a.NAME, a.ADDRESS from VENDTABLE v inner join DIRPARTYTABLE d on d.PARTYID = v.PARTYID inner join ADDRESS a on a.ADDRRECID = d.RECID where a.TYPE = 10.
Could you help me with this? Our VendTable doesn’t have addresses for all the vendors and the address needed to be on Payment Advice report.
It’s urgent request and I’m not strong with x++. And the VendTable doesn’t have all the keys to join to Address table, so it has to be join of 3 tables: VENDTABLE, DIRPARTYTABLE and ADDRESS.