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
Kpower
Frequent Visitor

Last & Days Waterfall Chart

Hi,

 

I need to create a waterfall chart for the Amounts for last seven days, this filter should change dynamically.

Can you let me know the solution for this.

 

Thanks

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Kpower,

 

You can also create a calculate table which filtered with last seven days, then use the filtered table as the source of waterfall chart'.

 

Sample:

 

Table 2 = FILTER(ALL(Table),[Date]>=LASTDATE(VALUES(Table[Date]))-7)

 

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

5 REPLIES 5
klabir
Helper V
Helper V

Have a look at the PowerBI Ultimate Waterfall Chart

http://dataviz.boutique/2017/03/22/powerbi-ultimate-waterfall-custom-visual/

M8.PNG

 

v-shex-msft
Community Support
Community Support

Hi @Kpower,

 

You can also create a calculate table which filtered with last seven days, then use the filtered table as the source of waterfall chart'.

 

Sample:

 

Table 2 = FILTER(ALL(Table),[Date]>=LASTDATE(VALUES(Table[Date]))-7)

 

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Vvelarde
Community Champion
Community Champion

@Kpower

hi, you can show the values in the last 7 days with this:

 

ValueShow = if(VALUES(Table1[Date])>TODAY()-7;CALCULATE(SUM(Table1[Value]));BLANK())

 

wfall7days.png




Lima - Peru

@Vvelarde

 

Hi,

I'm getting error for this.

ValueShow = if(VALUES(DAILYTRANSACTIONS[TRANDATE])>TODAY()-7, CALCULATE(SUM(DAILYTRANSACTIONS[Amount])) ,BLANK())

Can you take a look at it.

Vvelarde
Community Champion
Community Champion

@Kpower

 

what is the error message?




Lima - Peru

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.