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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
rajanimaddala
Helper II
Helper II

Data model issue

Hi 

i have 4 tables. 

1. Budgets by product by month

2. Products

3. Date table

4. Sales

 

i have created the relationships as below

date to sales

date to budgets

budgets to product

sales to product

 

i need to create a measure as 

total sale value / budget for the month and product. Month is slicer

i am displaying this measure in table.

 

What is the dax formula for this measure?

 

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@rajanimaddala ,

 

Could you please share the sample data and data structure, the expected output? So I can analysis on your requirement.

 

Regards,

Jimmy Tao

amitchandak
Super User
Super User

Not sure if I am clear

 

calculate(divide(sum(Sales[Sales Amount]),sum('Budget'[Budget Value])))

Then if you view data by product and month you should get desired values.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.