This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I have a report that summarizes data based on Year, Qurter and Month. A have slicers for all 3 elements. Is there a way to display the summed data to reflect the last month's figures when selecting just the Quarter slice and not the month slicer?
Solved! Go to Solution.
Hi @Rocky_Brown ,
I create a sample, please check if this is what you want:
LastMonthData filtered by Quater =
IF (
ISFILTERED ( 'Table'[Date].[Quarter] )
&& NOT ( ISFILTERED ( 'Table'[Date].[Month] ) ),
CALCULATE (
SUM ( 'Table'[Value] ),
FILTER (
ALL ( 'Table' ),
'Table'[Date] > EOMONTH ( MIN ( 'Table'[Date] ), -2 )
&& 'Table'[Date] <= EOMONTH ( MIN ( 'Table'[Date] ), -1 )
)
)
)
In this sample, it returns blank when filtered by Date.Month. In you scenario, you can set what you want when filtered by Date.Month.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Rocky_Brown ,
I create a sample, please check if this is what you want:
LastMonthData filtered by Quater =
IF (
ISFILTERED ( 'Table'[Date].[Quarter] )
&& NOT ( ISFILTERED ( 'Table'[Date].[Month] ) ),
CALCULATE (
SUM ( 'Table'[Value] ),
FILTER (
ALL ( 'Table' ),
'Table'[Date] > EOMONTH ( MIN ( 'Table'[Date] ), -2 )
&& 'Table'[Date] <= EOMONTH ( MIN ( 'Table'[Date] ), -1 )
)
)
)
In this sample, it returns blank when filtered by Date.Month. In you scenario, you can set what you want when filtered by Date.Month.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please specify if this is for Report Server or for the Power BI Service.
Please provide sample data in usable format (not as a picture - maybe insert into a table?) and show the expected outcome.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |