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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Akhil_1411
Helper IV
Helper IV

Measure to Column Conversion

Hi All😊

 

I am trying this from one week but not getting appropriate results.😥

I wanted to convert measure to a column since end user wanted to use as a slicer. In my report i need to show four slicer with different metrics. 

 

Below is the one of the measure i would like to convert into column.

UCD % Measure = DIVIDE(SUM(rawdata[Unearned Disc]),SUM(rawdata[Total_disc]))
 
Attached is the screenshot of the requirement and power bi file . Link: https://we.tl/t-RqzYlVkEoo
 
Thanks,
Akhil.Screnshot.PNG
8 REPLIES 8
Akhil_1411
Helper IV
Helper IV

Hi @Ashish_Mathur  @Fowmy 

 

Thanks for looking. We almost got ter.

Actaully, i am not using the % ucd in any of the visual in the report. The reports consists of different metrics built on different visuals ( approx: 17 visuals on a report ).

 

Now the question is how can i account this logic which u have given for all the different metrics and the visuals?

 

Thanks,

Akhil.

Hi,

You will have to edit/rewrite all your measures.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Akhil_1411 

 

 

Check how the measure that I created to work as per selection from the slicer and modify all your existing measures with same logic. 

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

amitchandak
Super User
Super User

@Akhil_1411 , You can create a column like this

 

UCD % Measure = DIVIDE(rawdata[Unearned Disc],rawdata[Total_disc])

 

But use only for creation bucket. Because your calculation for UCD % is correct.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Ashish_Mathur
Super User
Super User

Hi,

Creating a calculated column formula will not be a good idea simply because those formulas do not update when a user changes a slicer setting.  If you are willing to see your measure in a slicer with bands such as 0-25%, 25.1%-50%, then share those bands with me.  Share a 3 column table - lower limit, Upper limit and the "text as it should appear in the slicer".


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur ,

 

Thanks for your reply. Ya, i know.

Okay. Below is my range criteria that to be used in the slicer and that needs to dynamically change with the other slicer changes.

 

CriteriaLower LimitUpper Limit
0 - 10010
10-201020
20-502050
50-10050100

 

Thanks,

Akhil.

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Akhil_1411 

I have added the range table and modified the measure to so when selecting a value from the range table, it will filter and show only the relevant records.

You can download the file: HERE



Fowmy_0-1596295374985.png

 

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

 




Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors