Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Create a Measure to Calculate ratio base on Amount in same colum

Please help, i want to get % to REV base on Sub Catergory="Sales"
Below are the following measures i use.
Amount =sum(Report[AMT])
SalesAmt =
CALCULATE([Amount]),Report[Sub Catergory]="Sales")
% to Rev = DIVIDE([Amount],[SalesAmt])
Result should be
Sales 100%
Sales Discount 3%
Commission 10%
Thank you very much everyone ❤️
Resolver III
Resolver III

The denominator will be blank on your 2 dud rows.

Try this

SalesAmt =
CALCULATE([Amount]),filter(all(report[Sub category]),Report[Sub Catergory]="Sales"))

Thanks @rfigtree but still the denominator is blank 😢

Helpful resources

August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors