Forum Discussion

ZMcNealy's avatar
ZMcNealy
New Member
1 year ago
Solved

Creating a Table that Draws Values from Multiple Sources

Hello Everyone,   I have a problem I have not been able to solve yet - mostly due to how new I am to Power BI and DAX, I think. Basically, I have two data sources that are similarly formated, and I...
  • GrowthNatives's avatar
    1 year ago

    Hi ZMcNealy,

    1. In Power Query:

      • Unpivot both Budget and Expenditure tables (columns: Personnel, Fringe, Travel, Contractual).

      • Rename:

        • Attribute β†’ Category

        • Value β†’ Budget or Expended

    2. Merge the tables on Organization + Category.
    3. Add a column:
      • Remaining = [Budget] - [Expended]
    4. In Power BI report:

      • Add a Slicer for Organization.

      • Add a Table visual with: Category, Budget, Expended, Remaining.

    Let me know if you need further help on this.

     

    ⭐Hope this solution helps you make the most of Power BI! If it did, click 'Mark as Solution' to help others find the right answers.

    πŸ’‘Found it helpful? Show some love with kudos πŸ‘ β€” your support keeps our community thriving!

    πŸš€Let’s keep building smarter, data-driven solutions together! πŸš€ [Explore More]