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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I have a startdate in my model for Orders. I'm trying to get the EndDate by adding some random numbers to the Startdate.
My problem is, The orders have different stages in which i goes through. The RandBetween() function is applying random numbers for all of these stages.
What i need is, the randbetween() function should only consider Column "StartDate" and generate random numbers for it.
Any Idea on how to get this?
@Anonymous
Not very clear, can you provide an example?
Also, share the DAX formula that you used to create the column.
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
I have used Randbetween(20,400) to create random numbers. The StartDate is actually from the datasource itself.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |