This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello all,
how do I get the last two columns in row 3 (year: 2020) without values?
It should look like on the picture 2.
Unfortunately it does not work with the following Dax function:
thank you for the suppor!
Solved! Go to Solution.
Hi, @DagdasAlbag
Column names can't be used directly in measure, you need to use aggregate functions like max() min() selectedvalue() etc....
Like this:
RETURN IF(selectedvalue(table[Year])=2020, BLANK(),result_)
Best Regards,
Community Support Team _ Janey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@DagdasAlbag TRy this:
Unfortunately I get the following error message:
No single value can be determined for the "Year" column in the "DimDate" table. This can happen when a measure formula refers to a column with many values without specifying an aggregation such as MIN, MAX, COUNT or SUM to get a single result.
Hi, @DagdasAlbag
Column names can't be used directly in measure, you need to use aggregate functions like max() min() selectedvalue() etc....
Like this:
RETURN IF(selectedvalue(table[Year])=2020, BLANK(),result_)
Best Regards,
Community Support Team _ Janey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 40 | |
| 33 | |
| 24 | |
| 23 |