Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi there,
I have the following typical model
and the content of the tables is as follows
I need to display results of some selected user so that if there is no equivalent row in the data I return "to do"
using the native column "status" gave Table 1
using a calculated measure gave the Table 2 such that:
status_m =
what I want to get (giving the selected course and user) is as follows:
I appreciate any idea 🙂 Thank you
Hi,
I am not sure if I understood your datamodel correctly, but please check the below picture and the attached pbix file.
Status measure: =
VAR _course =
MAX ( Courses[Course] )
VAR _name =
MAX ( Users[Name] )
VAR _evaluation =
MAX ( Evaluations[Evaluation] )
RETURN
COALESCE (
MAXX ( FILTER ( Result, Result[Course] = _course ), Result[Status] ),
"to do"
)
Thank you for your prompt response but what I already git this output using the measure "status_m". In fact, what I want to get :
If "course 2" is selected and user "A" is selected, the table must only show results of the user "A" for all of the 3 evalauations of "course 2".
I don't want to results of the user "A" for other courses to be displayed.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 13 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 25 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |