Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
So I need to find the diffrence in contracts billed this month vs last month but the visuals have filters applied that I need to keep.
How would I do this in dax?
Solved! Go to Solution.
Hi @mhgottsc ,
Please try the measure.
Measure =
CALCULATE (
SUM ( 'Table'[Amount] ),
FILTER (
'Table',
FORMAT ( 'Table'[Last Billed Date], "yyyymm" ) = FORMAT ( TODAY (), "yyyymm" )
)
)
- CALCULATE ( SUM ( 'Table'[Amount] ), 'Table'[Billed Last Month] = "Yes" )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mhgottsc ,
Please try the measure.
Measure =
CALCULATE (
SUM ( 'Table'[Amount] ),
FILTER (
'Table',
FORMAT ( 'Table'[Last Billed Date], "yyyymm" ) = FORMAT ( TODAY (), "yyyymm" )
)
)
- CALCULATE ( SUM ( 'Table'[Amount] ), 'Table'[Billed Last Month] = "Yes" )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I ended up just makeing the mesures withing the visual itself and claculating the difference between the visual levele mesures.
@mhgottsc , You need two date slicer or two dimension slicer
How to use two Date/Period slicers
Compare two Brands: https://youtu.be/exN4nTewgbc