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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
TimBriggs
New Member

Table Column to Calculate Totals

Hi all, 

 

I want to add a column to the table below which show the % of Total QR's done without an NC found?

TimBriggs_0-1767094137775.png

So in this example, 3 total QRs complete. 1 NC found would be 66.66% correct.

 

Can anyone provide me with help?

 

Thank you

1 ACCEPTED SOLUTION
cengizhanarslan
Impactful Individual
Impactful Individual

Please try the measure below:

% QRs Without NC =
DIVIDE (
    [Total QRs] - [NCs Found],
    [Total QRs]
)
_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn

View solution in original post

6 REPLIES 6
cengizhanarslan
Impactful Individual
Impactful Individual

Please try the measure below:

% QRs Without NC =
DIVIDE (
    [Total QRs] - [NCs Found],
    [Total QRs]
)
_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn

Hi thank you, Managed to get it looking like the below, but cannot seem to get it as a %

 

TimBriggs_0-1767176769228.pngTimBriggs_1-1767176797682.png

 

 

  • Select the measure in the Fields pane

  • Measure tools → Format = Percentage

  • Set decimals

 

_________________________________________________________
If this helped, ✓ Mark as Solution | Kudos appreciated
Connect on LinkedIn
krishnakanth240
Responsive Resident
Responsive Resident

Hi @TimBriggs 

 

Can you please check this measure

 

% QR Without NC =
VAR TotalQR = SUM('YourTable'[Total QR's])
VAR NCFound = SUM('YourTable'[NC's Found])
RETURN
DIVIDE(TotalQR - NCFound, TotalQR, 0)

pankajnamekar25
Super User
Super User

Hello @TimBriggs 

 

try this

Create Total QRs measure
Total QRs =
COUNTROWS ( 'TableName' )

Create NC Found measure

(Adjust condition based on how NC is stored)

NC Found =
CALCULATE (
COUNTROWS ( 'TableName' ),
'TableName'[NC_Found] = "Yes"
)

% of QRs without NC (Final Answer)
% QRs Without NC =
VAR TotalQR = [Total QRs]
VAR NCCount = [NC Found]
RETURN
DIVIDE ( TotalQR - NCCount, TotalQR )

 


If my response helped you, please consider clicking
Accept as Solution and giving it a Like 👍 – it helps others in the community too.


Thanks,


Connect with me on:

LinkedIn

 

Zanqueta
Solution Sage
Solution Sage

Hi @TimBriggs ,

f you are just starting out with DAX in Power BI, I recommend using Quick Measures to accomplish this.
Please follow the steps below, and let me know if you need any additional assistance.


Zanqueta_0-1767095921191.png

 

 

If this response was helpful in any way, I’d gladly accept a 👍much like the joy of seeing a DAX measure work first time without needing another FILTER.

Please mark it as the correct solution. It helps other community members find their way faster (and saves them from another endless loop 🌀.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.