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
Anonymous
Not applicable

Rows with the same date get reomved from table

When I Apply and close the fllowing table in query editor. The dataset I get in the model only keep the first record for each date (records with S93 STF account ).

How can I keep all the rows?

2020-02-24_11-33-27.jpg

 

 
1 ACCEPTED SOLUTION

@Anonymous 

 

Maybe the data is sorted in different order(by attribute col) in the model tab. Filter for single date and see what you get. 

Connect on LinkedIn

View solution in original post

7 REPLIES 7
VasTg
Memorable Member
Memorable Member

@Anonymous 

 

What do you have in Applied steps in query editor? Post the M query here for reference.. Home->Advanced Editor.

Connect on LinkedIn
Anonymous
Not applicable

2020-02-24_11-46-35.jpg

@Anonymous 

 

Other than Pivot, I don't see any issues. Could you click on the final step and see what the output you get? If it not sensitive post the sample data in (copy-paste) format instead of screenshot.

Connect on LinkedIn
Anonymous
Not applicable

2020-02-24_11-55-46.jpg

 

final step is unpivot

@Anonymous 

 

Maybe the data is sorted in different order(by attribute col) in the model tab. Filter for single date and see what you get. 

Connect on LinkedIn
Anonymous
Not applicable

yap that was it. So less learned from this exmaple is that moving from Power Query to Model we might see unexpected sort which we didn't include in our transofrmation

Anonymous
Not applicable

I used upivot to move columns headers to rows.

 

what I get in the data model

 

2020-02-24_11-49-28.jpg 

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.