Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
jfmejiav1
Frequent Visitor

DATEADD problem with Slicers

Hello Currently im trying to get a WoW measure for the total of deals with a new flag created. below you will see the formula.

 

Deals With Flag = CALCULATE(DISTINCTCOUNT('Deals With Flag'[Deal iD]),FILTER('Deals With Flag','Deals With Flag'[Flag]=1))

 

Last Week = CALCULATE('Deals With Flag'[Deals With Flag],DATEADD('Snapshot Calendar'[Week Date],-7,DAY))
 
then
 
WoW variance = [Deals With Flag]-[Last Week]
 
Currently this measure works but then i put it in a Graph and also I want to show in a table the new deals that were created for that specific week. when i click the bar for a specific week the table wont filter those specific deals.
 
How can i make it work?
2 REPLIES 2
kcantor
Community Champion
Community Champion

@jfmejiav1 

Can you share a snapshot of your data model, relationships, and, most importantly, your date table? If you are not using a separate date table with all dates, it will not work appropriately.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hello,

 

Thank you for the response 

 

As for your comment i do use an independent date mapping.

 

also here is a link to see the PBIX https://db.tt/BlPVDoacwF

 

@kcantor 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.