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
nathanpgonzalez
Regular Visitor

measure help

i have a data set that looks like the following: While i made a expense chart by fiscal year, i want to be able show stats divided by expenses although imagine i have an account column that contains multiple accounts. I want to divide the amount per account divided by the total stats for that dept. can anyone help me with this? thank you

 

 

Account CategoryDept NameFiscal YearAmount
Expensesapples201450
Statsoranges20153
Hoursbananas201610
Expensesapples2014100
Statsoranges20157
Hoursbananas201615
Expensesapples2014150
Statsoranges201513
Hoursbananas201625
3 REPLIES 3
Phil_Seamark
Employee
Employee

HI @nathanpgonzalez

 

Can you please provide a small sample with some dummy account columns along with a mockup of your expected results?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

added account.. thanks

 

 

AccountAccount CategoryDept NameFiscal YearAmount
Office suppliesExpensesapples201410
costs of goods soldExpensesapples201430
Office suppliesExpensesoranges201415
costs of goods soldExpensesoranges201435
Office suppliesExpensesbananas201415
costs of goods soldExpensesbananas201435
QuantityStatsapples20143
QuantityStatsoranges20145
QuantityStatsbananas201418
regular timeHoursapples20143000
regular timeHoursoranges20143040
regular timeHoursbananas20143020
Office suppliesExpensesapples201512.5
costs of goods soldExpensesapples201537.5
Office suppliesExpensesoranges201518.75
costs of goods soldExpensesoranges201543.75
Office suppliesExpensesbananas201518.75
costs of goods soldExpensesbananas201543.75
QuantityStatsapples20153.75
QuantityStatsoranges20156.25
QuantityStatsbananas201522.5
regular timeHoursapples20153750
regular timeHoursoranges20153800
regular timeHoursbananas20153775
Office suppliesExpensesapples201615
costs of goods soldExpensesapples201645
Office suppliesExpensesoranges201622.5
costs of goods soldExpensesoranges201652.5
Office suppliesExpensesbananas201622.5
costs of goods soldExpensesbananas201652.5
QuantityStatsapples20164.5
QuantityStatsoranges20167.5
QuantityStatsbananas201627
regular timeHoursapples20164500
regular timeHoursoranges20164560
regular timeHoursbananas20164530

Hi @nathanpgonzalez,

What is your expected result based on the above sample data?


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.