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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Data-Crunch
Frequent Visitor

Flatten yearly budget value - crossjoin with month table

Hi all

I have a pretty simple issue as it seems, but I can't seem to find an efficient way to solve it.

My model has yearly budget values. In order to show a monthly value I want to join the table with the months, then add a calculated column to divide the yearly budget by 12.

 

For some reason I am unable to CROSSJOIN the Budget Table (with yearly values) with my Dim_Months (which contains Years and Months only). What I would need is a filtered join since I only want to add the months for each resepctive year.

 

can anybody help?

 

 

New Budget = 
FILTER(
    CROSSJOIN(
        SUMMARIZE(
            'Budget (Unpivoted)','Budget (Unpivoted)'[Category],Dim_Entities[Company Name], 'Budget (Unpivoted)'[Budget Value (CHF)],'Budget (Unpivoted)'[Year]),
        Dim_Months),
    Dim_Months[Year]='Budget (Unpivoted)'[Year])

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Data-Crunch , Please refer to my approach

 

PowerBI Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Data-Crunch , Please refer to my approach

 

PowerBI Distributing/Allocating the Yearly Target(Convert to Daily Target): Measure ( Daily/YTD): Magic of CLOSINGBALANCEYEAR With TOTALYTD/DATESYTD: https://community.powerbi.com/t5/Community-Blog/Power-BI-Distributing-Allocating-the-Yearly-Target-C...

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors