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.
I have several quick measures that are returning (Blank) Values. I'm using a date table marked date table. The simplest is here. COMs_20200604[Number] refers to the individual case number.
Measure:
Solved! Go to Solution.
Hi @Anonymous ,
The DATEADD function requires contiguous date selections ,so make sure your date table have contiguous date. If not, you may create a calendar table using DAX below. Then create relationship between your fact table and the calendar table with Both of Cross filter direction .
Calendar =CALENDARAUTO()
You may put [Month] and [Total Cases MoM%] into table visual to display the result.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
The DATEADD function requires contiguous date selections ,so make sure your date table have contiguous date. If not, you may create a calendar table using DAX below. Then create relationship between your fact table and the calendar table with Both of Cross filter direction .
Calendar =CALENDARAUTO()
You may put [Month] and [Total Cases MoM%] into table visual to display the result.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , Try like this
VAR __PREV_MONTH = CALCULATE([Total Cases], datesmtd(DATEADD('Date Table'[Date], -1, MONTH)))
Also, make sure you calendar table is marked as date table
@Anonymous
Can you try add the month filter and select a month to see if this works?
I think you didn't identify the month, the card shows total value, then can't show the pervious month value.
Proud to be a Super User!
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 |
---|---|
106 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |