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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Dynamically shows consecutive weeks data(Sales)

Aryansena_0-1597818560619.png

Consider FA is my sales ,first column is date(week level granularity) and third column is week number. My req is as per FA slicer the table should interact and it will change but main prob what i m facing is if the week slicer(single select) selected anything consider 3 then where consecutiveFA is not zero for three weeks ,that should show.

If week selected as 3 in table it should show 20,22,24 and 18,220,233,123,146.

if we select 4 week then 18,220,233,123,146.

now if we select FA between 220 and 233 nd weeks as 3 then blank table will be returned as there are no conjicutive 3 weeks value in that range.

2 REPLIES 2
lbendlin
Super User
Super User

You will want to make your requirements clearer.  The way I understand is that you have two filters

 

1. number of weeks   (make sure that slicer is single select!)

2. value range

 

The request is to show all data ranges that have consecutive sales for  #1 number of weeks , in the #2 value range.  Right?  (if yes then you have a conflict between WK and WK - in the table it identifies the week number but in the slicer it means number of weeks)

Anonymous
Not applicable

In slicer it is number of weeks. I think you understood the req correctly

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!