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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
cbschley
Helper III
Helper III

Calculating a Level of Detail while also using a Parameter

Hello,

 

I'm familar with creating what Tableau calls a "level of detail" calculation. In PowerBI we use CALCULATE along with an ALLEXCEPT to generate the level of detail we want. However, I am running into an issue when trying to calculate it at different levels when I introduce a parameter. It appears that it doesn't know how to calculate this, and therefore it returns a non-aggregated number.



Here is how I'm building my measure, any help would be appreciated:

CALCULATE(
sum(DEMAND[PACINGOUTLOOK])
,ALLEXCEPT(Parameter_ForecastDate,Parameter_ForecastDate[Parameter_ForecastDate])
)


I would expect to see something like this, where I get the 170M number in the LOD column. This one was built without using a parameter:

cbschley_0-1702664941155.png



But instead, I get this when using a parameter (non-aggregated value):

cbschley_1-1702665064440.png

 

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

hi

Fowmy
Super User
Super User

@cbschley 

In your formula, what you basically do is to remove the filter from all the coumns in the table Parameter_ForecastDate  and keep only the filter coming from [Parameter_ForecastDate] , so you should include the column [Parameter_ForecastDate] in the table visaul as well.


 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

@Fowmy , I think I understand your statement. I am actually using the [Parameter_ForecastDate]  column in my table visual. As you can see below, I have four different options, and the visual in my original post is using the "Forecast Month". It would appear I am doing what you suggested, but it does not work unfortunately. 


cbschley_0-1702937945695.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors