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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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