Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a product code table as shown below
| Product code |
| alpha |
| beta |
| gama |
x
Now I want to add a date column against each product for a specific duration, as example shown below
| Product code | Date |
| alpha | 01-Mar-23 |
| alpha | 02-Mar-23 |
| alpha | 03-Mar-23 |
| alpha | 04-Mar-23 |
| alpha | 05-Mar-23 |
| beta | 01-Mar-23 |
| beta | 02-Mar-23 |
| beta | 03-Mar-23 |
| beta | 04-Mar-23 |
| beta | 05-Mar-23 |
| gama | 01-Mar-23 |
| gama | 02-Mar-23 |
| gama | 03-Mar-23 |
| gama | 04-Mar-23 |
| gama | 05-Mar-23 |
Pls help me on creating a column.
NewTable=GENERATE(VALUES(Table[Product Code]),CALENDAR(DATE(2023,3,1),DATE(2023,3,5)))
Resolved by creating a custom column in query editor. Thanks
Thanks, it works.
Create date column manually in Query editor.
Get data-select Blank Query-type= {Number.From(#date(2023,1,1))..Number.From(#date(2023,3,15))}
and covert the ABC123 type to date.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |