Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello
I have data like
02/01/2021 | 3 |
15/02/2021 | 5 |
05/04/2021 | 6 |
and I would like then to fill in gaps in dates to show as per below
Thanks
02/01/2021 | 3 |
03/01/2021 | 3 |
04/01/2021 | 3 |
08/01/2021 | 3 |
09/01/2021 | 3 |
10/01/2021 | 3 |
∙ | |
∙ | |
∙ | |
∙ | |
14/02/2021 | 3 |
15/02/2021 | 5 |
∙ | |
∙ | |
∙ | |
∙ | |
05/04/2021 | 6 |
06/04/2021 | 6 |
07/04/2021 | 6 |
Solved! Go to Solution.
@Bimo so i have tried to solve your issue
1. so this is your table data. i have named it facts table in my model
2. You can create a table having all date values from first date till last date in your data table. i have named it calendar table in my model.
below code will create table for you
i am attaching pbix file as well for your reference.
do let me know if it resolve your problem. thanks
Proud to be a Super User!
@Bimo so i have tried to solve your issue
1. so this is your table data. i have named it facts table in my model
2. You can create a table having all date values from first date till last date in your data table. i have named it calendar table in my model.
below code will create table for you
i am attaching pbix file as well for your reference.
do let me know if it resolve your problem. thanks
Proud to be a Super User!
it works! Thanks
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
97 | |
81 | |
77 | |
66 |
User | Count |
---|---|
126 | |
105 | |
103 | |
81 | |
72 |