Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All, I hope you are doing well. I want to know if it is possible to have show selected dimension even if wihout value.
Brand | Flavor/Size |
XXX | 1L |
XXX | 2L |
XXX | 3L |
YYY | 1L |
YYY | 3L |
YYY | 5L |
ZZZ | Apple |
ZZZ | Organe |
ZZZ | Watermelon |
In the above figure we can see that Brand XXX has 1L, 2L, 3L and Brand YYY has 1L, 3L and 5L. Similary, brand ZZZ has Apple, Orange, Watermelon. Considering our data, we will have Size/Flavor dimension with attributes 1L, 2L, 3L, 5L, Apple, Orange, Watermelon. But when I put in a matrix view I want this kind of table.
The table should show all the 1L, 2L, 3L, 5L dimension for Brand XXX and Brand YYY but not for Brand ZZZ. Whereas Brand ZZZ should only has its flavor and size and not other.Please guide
Solved! Go to Solution.
Hi @Mkrishna
Below is my table:
The following DAX might work for you:
CustomDimensionTable =
UNION(
SELECTCOLUMNS(
FILTER('Table', 'Table'[Brand] = "XXX" || 'Table'[Brand] = "YYY"),
"Brand", 'Table'[Brand],
"Dimension", 'Table'[Flavor]
),
SELECTCOLUMNS(
FILTER('Table', 'Table'[Brand] = "ZZZ"),
"Brand", 'Table'[Brand],
"Dimension", 'Table'[Flavor]
)
)
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mkrishna
Below is my table:
The following DAX might work for you:
CustomDimensionTable =
UNION(
SELECTCOLUMNS(
FILTER('Table', 'Table'[Brand] = "XXX" || 'Table'[Brand] = "YYY"),
"Brand", 'Table'[Brand],
"Dimension", 'Table'[Flavor]
),
SELECTCOLUMNS(
FILTER('Table', 'Table'[Brand] = "ZZZ"),
"Brand", 'Table'[Brand],
"Dimension", 'Table'[Flavor]
)
)
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Mkrishna
If I understood you correctly try to use the option "show items with no data".
please show a desired result according to the tables that you used at a question or link to small pbix to work with
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
62 | |
58 | |
55 | |
36 | |
33 |
User | Count |
---|---|
81 | |
67 | |
45 | |
45 | |
43 |