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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
GhadaMehrez
Helper III
Helper III

% Measure

 

 

Please I have this measure to calculate % of {Actual Booked Cost} per each Strategy Theme from the {Total Actual Booked Cost}:

Here the measure works correctly in card visual but when I add it to the table it appear as 100% for all numbers and this not right any help what is the error??

 

% Actuals Booked =
DIVIDE(
[Actuals Booked],
CALCULATE(
[Actuals Booked],
ALL('Projects'[fls_StrategyThemeName])
)
)
GhadaMehrez_0-1660651860118.png

 

 

 

3 REPLIES 3
amitchandak
Super User
Super User

@GhadaMehrez , Try like

 

% Actuals Booked =
DIVIDE(
[Actuals Booked],
CALCULATE(
[Actuals Booked],
ALL('Projects')
))

 

or

 

% Actuals Booked =
DIVIDE(
[Actuals Booked],
CALCULATE(
[Actuals Booked],
ALL()
))

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I tried to send you a simplified file but when I do simple table it works good I don't know what is the problem 

@amitchandak In the cards works good, but in the table looks like below:

GhadaMehrez_0-1660654608821.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

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.