calculated tables
2 TopicsComparing values from 2 different selections
I have a table with the following columns: Product, Date, Cost I want to be able to have two slicers showing product. User can select a product from each slicer and I need to compare the cost of the two products by date. Example: Oil 1/1/2019 2.00 Gas 1/1/2019 1.50 Tea 1/1/2019 0.50 Oil 2/1/2019 2.10 Gas 2/1/2019 1.60 Tea 2/1/2019 0.60 Oil 3/1/2019 2.30 Gas 3/1/2019 1.90 Tea 3/1/2019 1.00 I want two slicers both showing Oil, Gas and Tea. If user selects say Oil from one and Gas from the other, then output Graph should show Dates as the X Coordinate, Price as the Y coordinate and bars for Oil and Gas for each date. I would also like to be able to calculate the variance between Oil price and Gas price for each date.Solved1.2KViews0likes2CommentsAppend Calculated Tables (Not in Edit Query)
I am working with Data Quality Dashboards. In order to avoid doing my initial selection using Python before uploading the tables into Power BI (can be tricky for my end user when I hand things over), I am trying to do it all inside the tool. Therefore I create various CALCULATETABLE functions to spot the entries that are violating my business rules. Ultimately I want to have one OVERALL VIOLATIONS table. The only function I know to append tables is UNION. However, it does not allow me to append more than two tables at a time. Consequently, I have to merge two at a time until everything becomes one main table. Do you happen to know a more effective way of doing this? Thanks in advance!3.4KViews0likes1Comment