Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
96 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |