Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to get data from a perticular table in power bi

Hello All,

I have a report getting data from 2 tables .Sales north and sales south.

 

1)select date, country,sales from north table

2)select date, country,sales from southtable

 

Both have same columns so I appended them as single query.

 

Now my requirement is I need to show a user input value to my user which have 2 values North and South.

So when my user selects north  show north table sales data and user selects South it has to South table sales.

 

Could any one please help how to do this

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

Before append sales south and sales north table, add a custom column "Type" (="South" , ="North") to each of these two tables as shown in the figure below.

yingyinr_0-1649154414900.png

After adding, then append these two tables.

yingyinr_1-1649154432659.png

Then create some measures to get the info base on your requirement... Please find the details in the attachment.

yingyinr_2-1649154601078.png

If the above one can't help you get the desired result, provide some sample data in sales north and sales south table(exclude sensitive data) and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

Before append sales south and sales north table, add a custom column "Type" (="South" , ="North") to each of these two tables as shown in the figure below.

yingyinr_0-1649154414900.png

After adding, then append these two tables.

yingyinr_1-1649154432659.png

Then create some measures to get the info base on your requirement... Please find the details in the attachment.

yingyinr_2-1649154601078.png

If the above one can't help you get the desired result, provide some sample data in sales north and sales south table(exclude sensitive data) and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

How to upload PBI in Community

Best Regards

lbendlin
Super User
Super User

1)select date, country,sales,"North" region from north table

2)select date, country,sales, "South" region from south table

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.