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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
avcr29
Frequent Visitor

Copy measures values in one column on another table

Hello!,

 

I don't know if this is possible, but is there a way to copy a measure value in a column? i have two measures, one is x measure  and the other is x rolling average measure, i want to be able to filter them in a column chart but, to do that, i know that i should need a column "type of measure" . This is what i have:

 

yearmonthx measure x rolling average 
2017enero71%71%
2017febrero64%68%
2017marzo72%69%
2017abril72%70%
2017mayo77%71%
2017junio75%72%
2017julio73%72%
2017agosto76%73%
2017septiembre68%72%
2017octubre66%72%
2017noviembre66%71%
2017diciembre66%71%
2018enero59%59%

 

i expect to create a new table like this:

 

yearmonthValuetype of measure 
2017enero71%x measure
2017enero71%x rolling average
2017febrero64%x measure
2017febrero68%x rolling average
2017marzo72%x measure
2017marzo69%x rolling average
2017abril72%x measure
2017abril70%x rolling average
2017mayo77%x measure
2017mayo71%x rolling average
2017junio75%x measure
2017junio72%x rolling average

 

i know if i copy the measures formulas to the Value column i wont get the same result, i want the value of the measures to be in one column (without being altered)  and distinct them based on a another "type of measue" column.

 

Thanks!

 

 

2 REPLIES 2
alex_itkin
New Member

v-chuncz-msft
Community Support
Community Support

@avcr29,

 

You may create a calculated table first, then use IF Function to add a measure.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.