Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Havent been able to figure it out with ContainsString.
Matrix Priority =
Switch(
True (),
'Tasks/Inc''s Combined'[result.short_description] = "JDSS New", "Now",
'Tasks/Inc''s Combined'[result.priority] = "2" && 'Tasks/Inc''s Combined'[result.closed_by] = " ", Now,
'Tasks/Inc''s Combined'[result.priority] <> "2" && 'Tasks/Inc''s Combined'[result.closed_by] = " ", Next,
)
Any help would be appreicated it!
B
Solved! Go to Solution.
@Anonymous
Not sure the data type and how your table is constructed but can you try the following column
Matrix Priority =
VAR __Desc = 'Tasks/Inc''s Combined'[result.short_description]
VAR __Priority = 'Tasks/Inc''s Combined'[result.priority]
VAR __ClosedBy = 'Tasks/Inc''s Combined'[result.closed_by]
RETURN
SWITCH (
TRUE (),
CONTAINSSTRING ( __Desc, "JDSS New" ), "Now",
__Priority = 2
&& __ClosedBy = BLANK (), "Now",
__Priority <> 2
&& __ClosedBy = BLANK (), "Next"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
Not sure the data type and how your table is constructed but can you try the following column
Matrix Priority =
VAR __Desc = 'Tasks/Inc''s Combined'[result.short_description]
VAR __Priority = 'Tasks/Inc''s Combined'[result.priority]
VAR __ClosedBy = 'Tasks/Inc''s Combined'[result.closed_by]
RETURN
SWITCH (
TRUE (),
CONTAINSSTRING ( __Desc, "JDSS New" ), "Now",
__Priority = 2
&& __ClosedBy = BLANK (), "Now",
__Priority <> 2
&& __ClosedBy = BLANK (), "Next"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 45 | |
| 38 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 86 | |
| 68 | |
| 38 | |
| 29 | |
| 26 |