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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
KristyP
Helper I
Helper I

Dividing a column and measure

Hi,

 

I have tried several differnet methods to achieve this. But none have come up with result I am looking for. The % column is the issue. It needs to be Actual / Predicted, with the correct figure in the % column. Customer A Product B 14805 % should be 15% or thereabouts.

 

KristyP_0-1688098775298.png

 

The measures I have so far tried are:

% = divide(sumx(Sales,'Sales'[Actual by serial number]),CALCULATE(sum('Usage'[2022 Achievable Revenue]),ALLEXCEPT(Usage,Usage[Customer],Usage[Product Group],Usage[Serial number])))

 

% = divide('Sales'[Actual by serial number],CALCULATE(sum('Usage'[2022 Achievable Revenue]),ALLEXCEPT(Usage,Usage[Customer],Usage[Product Group],Usage[Serial number])))

 

Actual v Achievable = divide('Sales'[Actual by serial number],sumx('Usage','Usage'[2022 Achievable Revenue]))

 

Actual v Achievable = divide(sumx('Sales','Sales'[Actual by serial number]),

calculate(sumx('Usage','Usage'[2022 Achievable Revenue]),ALLSELECTED(Usage[Serial number])))

 

where Predicted is 'Usage' and Actual is 'Sales'

 

 

0 REPLIES 0

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.