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
PeterStuhr
Helper V
Helper V

Measure is showing dates which are not in my Calendar table

Hi!

 

I have a strange behaviour, where a measure is showing dates which are not in my Calendar table.

 

My calendar table is based on dates from sales FIRSTDATA and LASTDATE (meaning last date is today).

 

measure.JPGtable.png

 

My Measure "PPW_jumpstart" is simply dividing 2 numbers:

 

PPW_Jumpstart = DIVIDE(SUM(Turnover[Price]),SUM(Turnover[Minutes])).
 
How can I avoid this? Even if I filter it to 2021-03, it still shows full 2021?
1 ACCEPTED SOLUTION

Hi @PeterStuhr,

 

Date Hierarchy   showing all dates of the year , you could try the following solutions.

Solution 1,

Create a new column base on  LTM_PPW_Actual

ltm_PPW2 = [LTM_PPW_Actual]

then you will get the below:

v-xulin-mstf_0-1615277744480.png

 

 

Solution 2,

Use  Year and Month as  rows ,not date

v-xulin-mstf_1-1615277744488.png

 

 

 

Wish it is helpful for you !

 

Best Regard

Lucien

 

View solution in original post

6 REPLIES 6
v-luwang-msft
Community Support
Community Support

Hi @PeterStuhr ,

Have you solved your problem? 

You can upload the .pbix file to onedrive business and share the link with me.

Anonymous
Not applicable

Is it possible for you to share pbix file ?

Hi, sure, how do I share? Can not link it here

Anonymous
Not applicable

Use google drive or dropbox. No way to directly attach the file here.

Hi @PeterStuhr,

 

Date Hierarchy   showing all dates of the year , you could try the following solutions.

Solution 1,

Create a new column base on  LTM_PPW_Actual

ltm_PPW2 = [LTM_PPW_Actual]

then you will get the below:

v-xulin-mstf_0-1615277744480.png

 

 

Solution 2,

Use  Year and Month as  rows ,not date

v-xulin-mstf_1-1615277744488.png

 

 

 

Wish it is helpful for you !

 

Best Regard

Lucien

 

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.