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

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

Reply
eheres
Frequent Visitor

Repeat values between periods

Hi All,

 

Hope you can help me. I have to repeat the las t value between periods but onle ofr the people between that periods. Here is an example of what i got

 

eheres_0-1648576119679.png

 

thats what i need

eheres_1-1648575533403.png

 

Here is the table with the data

DateFleetSales Rep SicTypeValue
Dec-20M1576LSORIANOUnits10
Dec-20M1882JOPEREZUnits2
Dec-20M1206UQUINTANILLAUnits1
Dec-20M1206UQUINTANILLAUnits5
Jan-21M1576LSORIANOUnits8
Jan-21M1882RCABRERAUnits2
Jan-21M1206RFLORESUnits1
Jan-21M1206RFLORESUnits5
Feb-21M1576LSORIANOUnits7
Feb-21M1882RCABRERAUnits2
Feb-21M1206RFLORESUnits1
Feb-21M1206RFLORESUnits5
Mar-21M1576LSORIANOUnits6
Mar-21M1882RCABRERAUnits2
Mar-21M1206RFLORESUnits1
Mar-21M1206RFLORESUnits5
Apr-21M1576LSORIANOUnits5
Apr-21M1206RFLORESUnits5
May-21M1576LSORIANOUnits2
May-21M1206RFLORESUnits5
Jun-21M1206RFLORESUnits5
Jul-21M1206RFLORESUnits5
Aug-21M1576LSORIANOUnits2
Aug-21M1882RCABRERAUnits2
Aug-21M1206RFLORESUnits4
Sep-21M1576LSORIANOUnits3
Sep-21M1882RCABRERAUnits4
Sep-21M1206RFLORESUnits3
Oct-21M1882RCABRERAUnits4
Oct-21M1206RFLORESUnits2
Nov-21M1882RCABRERAUnits4
Nov-21M1206RFLORESUnits2
Dec-21M1882RCABRERAUnits4
Dec-21M1206RFLORESUnits2
Jan-22M1882RCABRERAUnits4
Jan-22M1206FBALLESCAUnits1
Feb-22M1882RCABRERAUnits4

 

Thank you!

9 REPLIES 9
wdx223_Daniel
Super User
Super User

create a date table, then create a relationship between the date column of these two table

and try this measure

wdx223_Daniel_0-1648606528038.png

wdx223_Daniel_1-1648606554509.png

 

 

Thank you daniel it works great but i have to mantain the seasonality of the fleet by sales rep, for example in the fleet 1882 JOPEREZ has to be only in Dec 20 but from Jan21 to Feb 22 has to be only RCABRERA

 

PijushRoy
Super User
Super User

Hi @eheres 

I use one sales person for sample. You need to create reference table in PQ and need to run same steps.
After that you need to Append the all salesman wise table into one

Find the output screen
01.JPG

 

Download pbix file
https://drive.google.com/file/d/1MylQaOoGSrBw9aedZXJPWqcgeF9-K-Oh/view?usp=sharing


If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





thanks but when i aplied to the other fleets it doesnt work 😞

@eheres 

We need to apply similar types of steps for other fleet. As all fleets data are not same, please find my previous comment.
Some sales person only have data for 1.12.2020
where another sales person having two rows data for one particular month.

I am sharing steps and pbix, to understand what you need to do

Use filledUP and filledDown option, as per requirement

If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos


 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





You need to do same type of Data Transformation for each sales person then combined (marged) into one table
Also some times you need to use FilledUp and some time FilledDown (look power query steps)
Also I found, one sales person having two rows data in same month. For this case, you need to use Group by fundction to shape proper way

If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





yes but the thing is taht in my total data are more than 50 sales rep

If I create for all fleet, it will helps you?




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





yes please 🙂

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Kudoed Authors