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
Anonymous
Not applicable

Import measure definition from Power Bi Model

Hi,

 

I am fairly new to the world of SSRS so this may be a stupid question...

 

When I create a dataset from a Power BI data source I can import both my columns and my measures. For instance consider the following:

 

The [Group], [ID], [Forecast] and [Actual] are columns.

The [Variance] and [Variance %] are dax measures.

 

GroupIDForecastActualVarianceVariance %
A1105-5-50%
A210033-67-67%
B32530520%

 

When I import the measure is being calculated for each row, effectively becoming a calculated column as apposed to a measure definition.

 

Therefore when I try and create a pivot from this data it is aggregating (in the case below summing) my measures. This is fine for most but not for [Variance %]. What I want is my measures to calculate as per the current evaluation context like it would in Power Bi. Is this possible? I see I can create a Calculated Field the get my desired result but I have 100+ measures. Do I have to re-create them or is there some way to just import the measure definition?

 

GroupIDSum of ForecastSum of ActualSum of VarianceSum of Variance %
A1105-5-50%
 210033-67-67%
A Total 11038-72-117% (wrong should be -65%)
B32530520%
B Total 2530520%
Grand Total 13568-67-97% (wrong should be -50%)

 

Thanks in advance!

Ben

0 REPLIES 0

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.