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

Level of Detail Equivalent in Power BI

Hi All,

 

I have a calculation in Tableau I would like to replicate in Power BI. The calculation is fixing the level of detail as follows:

 

Tableau:

{FIXED [Month], [Restaurant Number], [Employee Role Name],
[Employee Role Type], [Employee Tenure Band]:
MAX([Store Headcount])}

And I am trying to replicate in Power BI as follows:

 

_StoreHeadcountFixed = 
CALCULATE(
    SUM(Sheet1[Store Headcount])
    ,ALLEXCEPT(Sheet1,Sheet1[Month])
    ,All(Sheet1[RestaurantNumber])
    ,allexcept(Sheet1, Sheet1[Employee Role Name])
    ,ALLexcept(Sheet1,Sheet1[Employee Tenure Band])
)

This is what the data looks like blown out:

 

Capture.PNG

 

When looking at the monthly level of granularity I expect my data to look like this (Tableau):

 

Capture2.PNG

So it is basically summing up Store Head Count for each month.

 

But instead it looks like this in Power BI:

Capture3.PNG

 

Any help with this calc would be much appreciated!

 

2 REPLIES 2
Anonymous
Not applicable

When you see a repeating figure like that it's more than likely a relationship issue. Can you upload the data model or at least a screenshot?

This is actually just a flat excel file. The layout of the data resembles the first image in the post (besides the measure in the last column obviously). Thanks!

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.