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
Measure =
VAR _year = SELECTEDVALUE(Table[Year])
RETURN "Dec" & _year
I am getting error in the visual with this measure.
Ideally it should return Dec2021, Dec2022, and so on
Solved! Go to Solution.
Hi @Anonymous ,
I tried it on my end with a column with type whole number:
What kind of data type is your year column?
What is the error saying? Could it be that your visual is not procuding exact one value?
Feel free to send a screenshot!
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Hi @Anonymous ,
I tried it on my end with a column with type whole number:
What kind of data type is your year column?
What is the error saying? Could it be that your visual is not procuding exact one value?
Feel free to send a screenshot!
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 45 | |
| 41 | |
| 36 | |
| 23 |
| User | Count |
|---|---|
| 192 | |
| 125 | |
| 106 | |
| 78 | |
| 53 |