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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
rui_silva
Helper I
Helper I

Power Bi Filter data automatically

Hi,

Im  trying do report where i need to compare some data from different months. But my powre bi is filtering duplicates rows where i have the same id.

Sample data:

IDClass  IDMonth ClassName        nStudents

1                1                ClassA               30

1                2                 ClassA               25

2                 1                 ClassB              27

2                  2                ClassB               27

 

When i try to filter my data only to "Class A" in my chart the data will be aggregated instead of being separeted showing the values .

 

1 ACCEPTED SOLUTION
alexei7
Continued Contributor
Continued Contributor

Can you add in the "IDMonth" column?

That should split out the data

 

Alex

View solution in original post

4 REPLIES 4
alexei7
Continued Contributor
Continued Contributor

Hi @rui_silva,

 

I don't understand your issue.

 

Your sample data is helpful. Can you also display:

 

1) the unwanted results you are getting

2) the results you actually want

 

Thanks

Alex

So the currents results im getting in char is :

Use slicer to filter 2 months "January and Feb" and Class A

and in my chart appears :

IDClass  ClassName  nºStudents

1               ClassA          55

              

And i want to appear as 

IDClass  ClassName   nStudents

1                ClassA         30

1                ClassA          25

alexei7
Continued Contributor
Continued Contributor

Can you add in the "IDMonth" column?

That should split out the data

 

Alex

@alexei7 Thanks !

 

Rui Silva

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.