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
neodghale205889
Frequent Visitor

Power Bi Visual Help

I have created a visual on power bi and the results equal 100%- which is expected. However, once I add my filter (that is a measure), and apply this filter, i am getting results that equal up to 150%. Does anyone know why this may be?

7 REPLIES 7
Anonymous
Not applicable

Hi @Arul ,Thanks for your quick reply, I will add more.

Hi @neodghale205889 ,

Regarding your question, please provide simple data and show your expected results as a picture. Or provide a .pbix file without sensitive data.

How to provide sample data in the Power BI Forum - Microsoft Fabric Community

 

Best Regards,
Wenbin Zhou

neodghale205889
Frequent Visitor

that is the filter i am trying to apply. It is a measure

 

This is the formula for the entire table:

Grade % =
VAR TotalWeight =
CALCULATE(
    SUMX(
        'PRODUCTION- Results','PRODUCTION- Results'[Total Weight])
)

VAR GradeTypeTotalWeight =
CALCULATE(
    SUMX(
        'PRODUCTION- Results','PRODUCTION- Results'[Total Weight]),
        REMOVEFILTERS('PRODUCTION- Results'[Grade Type])
       
)


RETURN
DIVIDE(
    TotalWeight,
    GradeTypeTotalWeight
)
neodghale205889
Frequent Visitor

Sorry i am fairly new to DAX and power bi. What do you mean by slicer column?

 

@neodghale205889 ,

Which filter do you apply?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


neodghale205889
Frequent Visitor

This is the measure I am using:

 

%ofGrade1&2 Test =
 

VAR Sumof12 =
CALCULATE(
    [Total Weight Produced],
    'PRODUCTION- Results'[Grade Type] = "1" ||
    'PRODUCTION- Results'[Grade Type] = "2")

VAR TotalLbs=
CALCULATE(
    SUM('PRODUCTION- Results'[Total Weight]),
    ALL('PRODUCTION- Results'[Grade Type])
)

RETURN
CALCULATE(
DIVIDE(
Sumof12,
TotalLbs
)
)
 
I am hoping for it to evaluate Grade 1 and 2 combined, and only populated results where Grade1+Grade2=less than 50%

@neodghale205889 ,

What is the slicer column?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Arul
Super User
Super User

@neodghale205889 ,

I think there is something wrong with your measure. Can you share the formula and the expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


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.

Top Solution Authors