Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi
I am new to this so I may be asking a very basic question:
I have a tbale that has the following columns:
Name, Category and Value
In the report I am trying to create I want to have the Names as rows and the Categories as columns.
How do I do this?
Thanks in advance
Solved! Go to Solution.
Hi @PhilipWebb ,
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
Hi @PhilipWebb ,
Try using a matrix.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Thanks Harsh
I tried that and I get too many columns
I think what I want is to create an extra columns that only contains one category:
For example
Name, Salary Category(filtered by category 1), Bonus Category (Filtered by Category 2)
Not sure if what I am trying to do impossible
Hi @PhilipWebb ,
I think you want to filter your table by categories.
Create a slicer.
In the fields Value you can drag the category Column.
You will then be able to filter your table by categories.
If not, pls share sample data and your expected output.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Data structure in SQL Table
CalendarDate Year Month EmployeeId PayrollCategoryId PayrollComponentId Category Component USDAmount
1/31/2019 2019 1 82 2 81 Earnings Salary 3793.15
1/31/2019 2019 1 82 2 82 Earnings Commission 3741.00
1/31/2019 2019 1 82 2 86 Earnings TaxablePay 7534.15
1/31/2019 2019 1 82 5 95 Employer Liabilities ErNI 917.22
1/31/2019 2019 1 82 5 96 Employer Liabilities PenEr 84.97
And the resulting table in Power Bi
EmployeeId Salary Commission Taxable Pay
82 3793.15 3741.00 7534.15
Hi @PhilipWebb ,
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
16 | |
14 | |
11 | |
9 |