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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
neodghale205889
Frequent Visitor

Power Bi Visual Question

HI! I am having an issue with my visual populating incorrect values. Any help is appreciated!

 

So I have two measures that are basically identical, Grade 1 and Grade 2, just populate different results:

 
VAR FilteredRows =
FILTER(
    'PRODUCTION- Results',
    CONTAINSSTRING(
        'PRODUCTION- Results'[Grade],
        "1"
    )
)

VAR Sumof1 =
SUMX(
FilteredRows,
'PRODUCTION- Results'[Total Weight]
)

VAR TotalLbs=
CALCULATE(
    SUM('PRODUCTION- Results'[Total Weight]),
    ALL('PRODUCTION- Results'[Grade])
)
RETURN
CALCULATE(
DIVIDE(
Sumof1,
TotalLbs
)
)
 
I then created a measure Grade1andGrade2 that added these results together:
 [%ofGrade1]+[%ofGrade2]
 
The whole point of this is so that in my visual, I can easily filter out any items that are below 50%. So the idea is that if I create the measure Grade1andGrade2 and filter it to less than .50, it will only show my items where the combined Grade 1 and 2 are less than 50%.
 
However when I actually try to use this measure on the visual, it is still pulling the grades individually. So instead of looking at the combined grade 1 and 2 and filtering accordingly. It is looking at grade 1 and then grade 2, so the filter is incorrect.
 
1 REPLY 1
MFelix
Super User
Super User

Hi @neodghale205889 ,

 

This depends on the columns you are using on your visual.

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.