This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I try to add dynamic filter to the calculation but i receiving error.
This is the function:
Solved! Go to Solution.
Your static example has the quarter as a text value ("2"). Your roundup function is returning an integeter. You'll need to convert it to a text value with FORMAT() (or change your quarter value to whole number). Also, you can pre-calculate your comparison values as variables first, as follows. This sometimes solves some errors inside calculate.
If this works for you, please mark it as solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Your static example has the quarter as a text value ("2"). Your roundup function is returning an integeter. You'll need to convert it to a text value with FORMAT() (or change your quarter value to whole number). Also, you can pre-calculate your comparison values as variables first, as follows. This sometimes solves some errors inside calculate.
If this works for you, please mark it as solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thx for help, probably working.
I find the problem, my column were not converted to any specyfic type. I change to number and the formula working.
It is quite a strange that i need to do this while there are only numbers.
Check out the May 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 |
|---|---|
| 27 | |
| 25 | |
| 25 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 52 | |
| 46 | |
| 23 | |
| 18 | |
| 18 |