Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
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.
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.
Proud to be a Super User! | |
So how can I figure out what goes missing when I pivot the data?
can you link the pbix or get a sample data as your structure to see how we can help you.
Proud to be a Super User! | |
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.
There isnt a measure for my count. It is just a count of the Event Name (Rows).
I think you should sum the values not count them when pivoted
Proud to be a Super User! | |
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
89 | |
52 | |
48 | |
46 |