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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
lasmithfla
Helper I
Helper I

Calc. to convert values in a column to 2 new values

This is an example of what I'm trying to do, is take a % of certain values and create 2 new columns. Doesn't have to be in table format for columns, can be a measure.  I need to take a % of a value, they all won't havesthe same rules.

 

When I was trying Switch or IF, the "products" don't show as an option to include in the if statement.

Was thinking something logic something like   If Products = "Bikes", Total Sales * .80, Total Sales *.20..  This would only include one product, need it to accomodate about 10 of them.

 

 

ProductsTotal SalesNEW VALUE 1NEW VALUE 2
Bikes100080% of total sales for bikes20% remaining
Misc5000no change 
Helmets200090% of total sales for helmets 10% remaining
2 REPLIES 2
lasmithfla
Helper I
Helper I

disregard, i found a solution

PhilipTreacy
Super User
Super User

Hi @lasmithfla 

The problem description is vague, I don't understand what you are trying to do.

Can you please restate the problem and provide examples of what your expected result is.

regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.