The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm new to power bi and want to ask help with slicer using 2 tables
Consumer Goods Table
Consumer | day1 | day 2 | day 3 |
Consumer 1 | 1 | 2 | 3 |
Consumer 2 | 2 | 4 | 5 |
Consumer Sales Table
Consumer | day1 | day 2 | day 3 |
Consumer 1 | 22 | 22 | 223 |
Consumer 2 | 22 | 44 | 55 |
now i want to have 2 slicer and 2 cards: date and Consumer so i can display the result on 2 cards containing Sales and goods average. (per day average or individual data of consumer)
Note:
Currently i have 4 slicer which is 2 for goods table and 2 slicer for sales table, i just want to combine and if possible there will be 2 slicer since they have same column and consumer.
Any idea will help. Thanks!
@HumanX
FIrstly, you need unpivot your data to have three columns for each table as Consumer, Goods , Date and Consumer, Sales and Date. Then the rest will be easy for to do the calcualtion.
Follow these videos if you need to know how to unpivot:
https://www.youtube.com/watch?v=Vff2kRBM95o&pp=ygUJZXhjZWxmb3J0
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi,
Yes I already did that and for my 3rd table I used this
@HumanX
Not clear, sorry.
Please share your PBI file, I hope it contains dummy data.
Save it in Google Drive and share the link here and ensure access is given
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hello,
Here's the PBI file
https://drive.google.com/file/d/1gh2IWg7K9HUQt-Zjyc8DrZklUrihwjxM/view?usp=sharinghttps://drive.goog...
also the Excel file if needed
https://docs.google.com/spreadsheets/d/1T13S5NJynvsDTCR5a40nG7GPkikRMYVf/edit?usp=drive_link&ouid=11...
User | Count |
---|---|
12 | |
9 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
14 | |
9 | |
7 |