Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have one specific date column, and I would like to have a date (in result - image showing below)
Is there any possible queries to do this?
Thanks,
Solved! Go to Solution.
Hi @syelify ,
So it looks like you want to crossjoin every day of a given month with any date that sits within that month.
If so, you can add a custom column like this:
List.Transform(
{
Number.From(Date.StartOfMonth([Date]))..Number.From(Date.EndOfMonth([Date]))
},
each Date.From(_)
)
Expand the resulting list to new rows and this should give you what you want.
Pete
Proud to be a Datanaut!
@syelify ,
Glad it's worked for you.
If you're happy with this answer, can you hit 'Accept as Solution' on the relevant post to help others find the answer quicker please?
Pete
Proud to be a Datanaut!
Thanks it works 🙂
@syelify ,
Glad it's worked for you.
If you're happy with this answer, can you hit 'Accept as Solution' on the relevant post to help others find the answer quicker please?
Pete
Proud to be a Datanaut!
Hi @syelify ,
So it looks like you want to crossjoin every day of a given month with any date that sits within that month.
If so, you can add a custom column like this:
List.Transform(
{
Number.From(Date.StartOfMonth([Date]))..Number.From(Date.EndOfMonth([Date]))
},
each Date.From(_)
)
Expand the resulting list to new rows and this should give you what you want.
Pete
Proud to be a Datanaut!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 5 | |
| 3 |