Forum Discussion
Creating a column on table that contains only certain values based on another column on that table
- Anonymous6 years ago
Hi PhilipWebb ,
Regards,
Harsh NathaniAppreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
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
- Anonymous6 years agoNot applicable
Hi PhilipWebb ,
Regards,
Harsh NathaniAppreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!