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,
im trying to achieve to visualize the current quarter and the previous quarter on a kpi card regarding on the filter i use in the dashboard.
im using this calculation for previous quarter:
PreviousQuarterSales = CALCULATE(SUM(Foglio1[Sales]),DATESQTD(dateadd(Foglio1[Date].[Date],-1,QUARTER)))
and this work correctly with the filter.
Im looking for something like:
Last QTDes = CALCULATE(SUM(Foglio1[Sales]),PREVIOUSQUARTER(TODAY()))
is there a way to achieve this ?
Solved! Go to Solution.
Please try the following 2 measures for the KPI cards.
Hope this is helpful to you.
Regards,
Nathan
P.S. I created my own date table in DAX as follows. The main field used is "Year Quarter Number", highlighted below. This table was joined to the 'Sales' table on 'Sales'[Order Date].
Please try the following 2 measures for the KPI cards.
Hope this is helpful to you.
Regards,
Nathan
P.S. I created my own date table in DAX as follows. The main field used is "Year Quarter Number", highlighted below. This table was joined to the 'Sales' table on 'Sales'[Order Date].
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 |
---|---|
49 | |
26 | |
21 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |