Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi I was trying to categorize ageing number of days into two types i.e >30 and <30 . ageing is calculated on the basis of the month selected in the filter if we are filtering to current month then
ageing number of days = current date - approved date {approved date being a column in my dataset}
else
ageing number of days = last date of the selected month - approved date
i have created the following measures
Last_Date = EOMONTH([TIME_ID_DATE],0)........{calculated column}
Last_day_of_month = CALCULATE(LASTDATE(D_TIME_PERIOD[Last_date]),ALLEXCEPT(D_TIME_PERIOD,D_TIME_PERIOD[YEAR],D_TIME_PERIOD[MONTH])) .................{calculated measure}
Ageing_number_of_days = If(MONTH([Last_day_of_month])=[this.month],DATEDIFF(F_RR_DETAIL[D_APPROVED_DATE],TODAY(),DAY),DATEDIFF([D_APPROVED_DATE],[Last_day_of_month],day)).............{calculated column}
Is this DAX statement for a measure or column? Try making a new column using DAX instead.
Right click your table/dataset and click "New Column" instead of "New Measure".
Hi Rashmita,
I suggest u y not create a "Conditional column " from Query Editor.
Let u try
As the error message indicated, your have circular dependency between measure: Ageing_number_of_days and column:F_PR_DETAIL[Column]. Please check the expression of this calculated measure, it supposes to have [Ageing_number_of_days] referenced in its expression which causes the error. Please refer to article below to understand this error:
https://www.sqlbi.com/articles/understanding-circular-dependencies/
Regards,
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |