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

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

Reply
carter1208
Regular Visitor

Help with Data Filters & Relationships

I have a spreadsheet of data that has Learner Types across the top as shown below. Each row has a number for that learner type that attended the event of that row. 

 

carter1208_0-1707505268684.png

 

THe problem is I need to filter based on these column headers. I pivoted the data, but then when I build my dashboard I get incorrect counts, such as the total of events in the pivoted table vs the actual number (Confirmed in Excel). Not sure where to go from here. Any help would be appreicated. 

 

 

7 REPLIES 7
Idrissshatila
Super User
Super User

Hello @carter1208 ,

 

the right approach if you want to filter by the column types is to pivot the table, then you need to know why the count is getting wron, maybe you're doing something wrong in the measure.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




So how can I figure out what goes missing when I pivot the data?

@carter1208 ,

 

can you link the pbix or get a sample data as your structure to see how we can help you.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




See Link below for sample data

 

Link 

Hi,

The first thing you should do is Unpivot the Learner columns.  In the Query Editor, select columns A:I, right click and click on "Unpivot Other Columns".  Now build your visuals.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

There isnt a measure for my count. It is just a count of the Event Name (Rows).

@carter1208 ,

I think you should sum the values not count them when pivoted



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors
Top Kudoed Authors