cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Operations With Random Numbers

I am trying to create a fun multiplication shortcut visual and I want the user to be able to input two 3-digit numbers. I understand that user input in Power BI is not possible yet. So I've been experimenting with RANDBETWEEN(100, 999). It works nicely, however, it seems that I am unable to multiply the two random numbers or extract certain digits (such as the digit in the hundreds place for the first random number). This makes sense since my Measure is likely just generating a different random number when trying to calculate the product or extract a specific digit. Is there any way around this? Or is my only choice to make a long, long list of different numbers that the user MUST choose from?

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Operations With Random Numbers

@Anonymous why not try what-if parameter with range and use that.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos Smiley Happy
Feel free to email me with any of your BI needs.





View solution in original post

2 REPLIES 2
Super User
Super User

Re: Operations With Random Numbers

@Anonymous why not try what-if parameter with range and use that.






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos Smiley Happy
Feel free to email me with any of your BI needs.





View solution in original post

Anonymous
Not applicable

Re: Operations With Random Numbers

@parry2k 

Didn't know that existed! Thanks -- I'll play around with that now.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 161 members 1,580 guests
Please welcome our newest community members: