Forum Discussion

nikhil18's avatar
nikhil18
Regular Visitor
3 years ago
Solved

Dynamic Pie Chart Based on Slicer Selection containing data source table name

I have created a Power BI dashboard with two data sources loaded as CSV files. Both data sources contain two common columns: "frauds" with values "yes" or "no" and "event id" with unique values. I ha...
  • parry2k's avatar
    3 years ago

    nikhil18 what Idrissshatila suggested would work, but if I have to do this, I will add another column in each table, let's call it "Type" and give the values "Type 1 " and "Type 2", and then append these tables. All this is easy to do in Power Query. Once done, you will have one table with data from both tables with a column called Type. Now you can easily setup a slicer on this new column which will filter the data based on the selection.