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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
tmarain
New Member

% calculation

I have data in table visuals below

Town               Month       Target                Sales 

A                     Jan-23       2M                    1.5M

A                     Feb-23       3M                    2.2M

A                     Mar-23      3.5M                  3M

I want to add a column with calculating % achievement of sales against the target.

Anyone can help

1 REPLY 1
DOLEARY85
Super User
Super User

Hi,

 

you could just use a calculate sum measure:

 

Measure = CALCULATE(SUM('Table'[Sales]))/CALCULATE(SUM('Tablw)'[ Target]))
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.