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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
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.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 116 | |
| 107 | |
| 42 | |
| 32 | |
| 26 |