Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
hi
I have the following scenario:
Matrix is not calculating the total, I'm able to create measures to count total that gives the total by Year week with SUMX;
= sumx(values(table1[discipline]), [measure switch]
However, how can I exclude a particular row "Open comments" in total.
"Open comments with numbers" shall remain in Matrix.
Thanks
Henrik
Solved! Go to Solution.
@Henrik_99
Please try the following formula. If you want to see only the Row for Open Comments with no data, right-click on the field and choose "Show item with no data"
New Measurre =
sumx(
Filter(
values(table1[discipline]),
table1[discipline]<> "Open comments"
),
[measure switch]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Henrik_99
You can try this modified measure:
New Measurre =
IF(
SELECTEDVALUE(table1[discipline]) <> "Open comments",
sumx(values(table1[discipline]), [measure switch])
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi
See figure below, it doesnt sum correctly and Open comments value disappear.
Rgds Henrik
@Henrik_99
Please try the following formula. If you want to see only the Row for Open Comments with no data, right-click on the field and choose "Show item with no data"
New Measurre =
sumx(
Filter(
values(table1[discipline]),
table1[discipline]<> "Open comments"
),
[measure switch]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
User | Count |
---|---|
13 | |
4 | |
2 | |
1 | |
1 |
User | Count |
---|---|
22 | |
3 | |
3 | |
2 | |
2 |