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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi all,
I have a dummy dataset that does not have a date column, Is there a way of generating random dates between a time frame in Power BI?
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, here is my solution.
You can create a calculated column by using RANDBETWEEN function.
I made a sample for you to reference.
Column = RANDBETWEEN(DATE(2022,10,1),DATE(2022,11,20))
Final output:
Remember that the data type of the "column" should be "DATE" or "DATE/TIME".
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, here is my solution.
You can create a calculated column by using RANDBETWEEN function.
I made a sample for you to reference.
Column = RANDBETWEEN(DATE(2022,10,1),DATE(2022,11,20))
Final output:
Remember that the data type of the "column" should be "DATE" or "DATE/TIME".
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |