Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello.
I have 2 tables:
1 table with dates with group by month:
let Years = Table.FromList({2018..2019}, Splitter.SplitByNothing(), null,null, ExtraValues.Error), AddMonth = Table.AddColumn(Years, "Month", each {1..12}), ShowMonths = Table.ExpandListColumn(AddMonth, "Month"), CreateDate = Table.AddColumn(ShowMonths, "Date", each #date([Column1],[Month],1)) in CreateDate
2 table with product list:
How can i change 1 table to create a table of such a structure?
Date | Product list
1.01.18 | Diesel DZ100
1.01.18 | Diesel DZ101
1.01.18 | ......Products from table 2 list
1.01.18 | Diesel DZ999
1.02.18 | Diesel DZ100
1.02.18 | Diesel DZ101
1.02.18 | ......Products from table 2 list
1.02.18 | Diesel DZ999
Ðnd so on
Solved! Go to Solution.
Hi @chernetsovalex ,
Go to the Table1 and add custom column with the following code:
Table2[Name]
This will give a list column then just click on Expand to new rows and the result is date and products.
check example attach.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @chernetsovalex ,
Go to the Table1 and add custom column with the following code:
Table2[Name]
This will give a list column then just click on Expand to new rows and the result is date and products.
check example attach.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
101 | |
90 | |
80 | |
71 | |
70 |
User | Count |
---|---|
114 | |
98 | |
97 | |
73 | |
72 |