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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.