Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
So i have this DAX here and I want to be selecting current Quarter automatically instead of manually changing it every time what should I change?
Solved! Go to Solution.
@Anonymous Try:
Target =
VAR __Quarter = "Q" & QUARTER(TODAY())
VAR __Result =
Calculate(SUM('TABLE'[Budget])/12, FILTER( TABLE,'TABLE'[Year]=2018 && 'TABLE'[Quarter]=__Quarter))
RETURN
__Result
@Anonymous Try:
Target =
VAR __Quarter = "Q" & QUARTER(TODAY())
VAR __Result =
Calculate(SUM('TABLE'[Budget])/12, FILTER( TABLE,'TABLE'[Year]=2018 && 'TABLE'[Quarter]=__Quarter))
RETURN
__Result
I get the following error when I use this now:
MdxScript(Model) (1427,67) Calculation error in measure 'Table'[Measure]: DAX comparison operations do not support comparing value of type Text with value of type integer.
Consider using the Value or format function to convert one of the values.
So my measure is :
The column Year is dax like this:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 21 | |
| 13 | |
| 12 | |
| 10 |