Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi,
I have 2 table below. Currently One to many relationship. Reference number is unique in table 2.
But now if i unpivot column Approver1 & Approver2, my reference number in table 2 become duplicate not unique...and it will affect the one to many relationship. how do i solve this?
(Reason why i want to unpivot the column Approver1 & Approver2 is to count who had approved the most payment reference.)
thanks.
Hi,
Anyone can help?
Anyone can give me some advice?
My target is to calculate which approvers had approved how many documents here. Should i unpivot the columns or there's other options? I also need to calculate dates from 2 diff tables.
You could set it up as a many-to-many relationship but make it single directional, so that Table 2 filters Table 1.
@johnt75 hi, john, i make it single directional, but it give me another problem. I wan to calculate the datediff between the 2 tables, after i unpivot the column which become many to many relationship, the datediff in Dax doesn't work anymore.
Should create a separate table to unpivot the columns? Any ideas?
User | Count |
---|---|
122 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
189 | |
96 | |
67 | |
63 | |
53 |