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! Learn more

Reply
kamran
Frequent Visitor

Need percentage from a SSAS cube Measure column

Hi

 

I've a measure column "Sales" being fetched from a SSAS cube. I need to take percentage of individual Product's sales out of total sales. My values are like

 

Product         Sale
A                   10
B                    20

I've tried to use Measure Column as well as New Column options in Power BI and adding formula as:

 

SalePercentage = ( Sale / SUM(Sale) ) * 100

But formula raises an error.

 

Can you please tell me what I am doing wrong?

1 REPLY 1
Anonymous
Not applicable

Hi @kamran,

What error message do you get?

I create a column using your formula, everything works well, please see my example.
1.PNG

Thanks,
Lydia Zhang

Helpful resources

Announcements
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!

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.

Top Solution Authors