Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello everyone,
I have a table that includes info as below:
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).
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.
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:
@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
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.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
Check out the May 2024 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
43 | |
21 | |
21 | |
14 |
User | Count |
---|---|
124 | |
42 | |
39 | |
28 | |
24 |