Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Generate Random Num from column to use not random number for another column

All Power BI Expert,

Eg, I generate Column A with Random Number, But for Column B, I want to copy and use that column A number as not a random number for column B

In Excel, we can copy and paste as a value.

 

 

Thank you for your help

1 REPLY 1
PiEye
Resolver II
Resolver II

Hi @Anonymous  , can you elaborate more on what you are trying to do in PowerBI with the random numbers?

There is a RAND() function in DAX, if you apply this to  a measure you can then reference that same random number in other measures.

 

EG, we have the measures

A (random) = RAND()
B = [A (random)] +1
 
Results in the following:
PiEye_0-1680979337704.png

 

You can see here that the figure in [A] persists, and is not generated again in [B]

 

I think it would help to understand what you are trying to achieve, though.

 

Pi

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.