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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

How to show the group result on chart by ignoring the category's filter?

Hello everyone,

 

I have a table that includes info as below:

  • Year
  • Project
  • Control (checking point in audit)
  • Control Risk

A project might have a few different checking points with different risks, and I take the highest risk in the project as the Project's Risk (Please find the pic below as reference).

 

thisisyingchi_0-1644399734276.png

 

However, the result now is as pic below. It does count individuals but with the control risk, which makes the result should be 1 project in 2020 looks like 3.

thisisyingchi_1-1644399826438.png

 

Is it because I put the "Risk" in the Category, meanwhile the connection between the "Risk" and "Control Risk" still works?
To solve this problem, I tried to have this measurement by DAX:

Project_amount = CALCULATE(
    DISTINCTCOUNT('Project'[Project Code]), #calculating project amount
    ALLEXCEPT('Project','Project'[Project Risk]), #keep the filter of the project risk
    #force the connection between Risk and Control Risk invaild
    CROSSFILTER(
        'Risk'[Risk],
        'Project-Control'[Control Risk],
        None),
    #force the connection between vaild
    CROSSFILTER(
        'Risk'[Risk],
        'Project'[Project Risk],
        Both),
    CROSSFILTER(
        'Project-Control'[Project Code],
        'Project'[Project Code],
        Both))

 

Please help and let me know if more information is required, thank you!

 

Data Model:

螢幕擷取畫面 2022-02-09 180404.png

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , You should add project risk to project control tbale

 

new column in

project risk = related(project[Project Risk])

 

Now you should have an inactive join, which you can activate using userelationship

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
Anonymous
Not applicable

Hi @amitchandak 

If you look carefully, you will find the "Project Risk" is already in the "Project-Control" table.
However, if a project is mixed with 2 different "Control Risk", the project amount on the chart shows 2 instead of 1.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.