The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
16 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |