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
shei7141
Helper III
Helper III

Incorrect value with measure - mystery

Hi all,

 

I have two tables:

Table 1: DatabaseT

ColumnColumnMeasureMeasureColumnMeasure
ProjectPhasesStart DateEnd DateTestCostPerMonthCostPerMonth
AA11/07/202130/11/2022101373.6101373.6
AA21/01/202330/08/2024172335.1172335.1
AA31/12/202430/11/2026215418.9215418.9

 

Table 2: Calender

DAX statement: 

Calendar = FILTER(CALENDAR("2010-01-01","2080-12-31"),DAY([Date])=1)
 
I cross joined the tables using the following
DatabaseForMonthlyRevised = FILTER(CROSSJOIN(DatabaseT,'Calendar'),'Calendar'[Date]>=DatabaseTab[StartDate]&&'Calendar'[Date]<=DatabaseTab[EndDate])
 
I created a viz table using the following fields:
 
- Date (from calender) - years only 
- CostPerMonth (column)
 
I nicely get the Estcost for year 
YearsCostPerMonth
2021608241.6
20221115109.6
20232068021.44
20241585483.1
 

and so on

 

 

 
but when I try to create the same table using CostPerMonth as a measure I no longer the same results
 
YearsCostPerMonth
2021101373.6
2022101373.6
2023172335.1
2024 
2025215418.9
 
Is there something I am missing here?
 
Please assist me with me with situation>> I am stuck here for almost two days now 😄
 
Thanks Shei
1 ACCEPTED SOLUTION

@shei7141 , In case measure row context will play role. Need to check with data.

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

thanks mate and apology for the confusion.

I am basically puzzled as I have same information in two formats (1. measure and 2. column) and when I create a tab viz, I get the correct answers with column but not with the measure.

 

Ta

Shei

 

@shei7141 , In case measure row context will play role. Need to check with data.

legend

 

! _ !

 

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.