cancel
Showing results 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.

Resolver II

## Yearly Total in a Column

I have a requirement where I need to use SUM of yearly numbers in a calculation against each row within a year. I am new to this community and not sure if I am able to explain it properly or not. Fiscal Year and Fiscal Month are the two rows in the matrix. Thank You in advance.

1 ACCEPTED SOLUTION
Super User

@NishPatel , Try one of the two measures with Rate measure

calculate([Rate], allexcept(Table, Table[Year]))

or

calculate([Rate], filter(allselected(Table), Table[Year] = max(Table[Year])))

2 REPLIES 2
Super User

@NishPatel , Try one of the two measures with Rate measure

calculate([Rate], allexcept(Table, Table[Year]))

or

calculate([Rate], filter(allselected(Table), Table[Year] = max(Table[Year])))

Resolver II

Hi Amit, If i use this measure in another matrix, the result is not right. So the file I data I shared earlier had Hours by Month. But if i add one more level below (Row under Month), Employee then the number are changed. How can i make this numbers not to change? Thanks again in Advance.

Announcements

#### 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

#### Power BI Monthly Update - April 2024

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

#### Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors