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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
CQueen
New Member

Calculated Measure Not showing up

I am trying to get a Prior Week measure to calculate from a Current Week measure. Other measures based off of the Current Week measure work but the measures based off of the Prior Week do not. Can anyone help me with this? I think it is an issue with the Prior week output value type but cant seem to figure it out.

 

Current Week measure Calc: This works in all Current Week measures except Prior Week

CQueen_0-1715287141764.png

Prior Week measure Calc and Outputs:

CQueen_2-1715287743757.png

Do you know why or if there is a formula that call pull prior week from a long list of weeks with duplicates?

 

Thanks

Connor

 

1 REPLY 1
v-jianpeng-msft
Community Support
Community Support

Hi, @CQueen 

You should add columns from your date table to the matrix or table for the measure to calculate. Measures rely on the current context calculations. According to the information in your picture, you are only putting measures in the matrix or table, so the display is empty.

Are you able to provide sample data that doesn't contain privacy in part based on your DAX expressions? Describe the output you are looking forward to.

In addition, you can refer to the following articles:

DAX for CURRENT WEEK VALUE and PREVIOUS WEEK VALUE - Microsoft Fabric Community

Week Is Not So Weak: WTD, Last WTD, and This Week ... - Microsoft Fabric Community

vjianpengmsft_0-1715306912582.png

Rolling Weeks - Microsoft Fabric Community

Get Power BI Previous Week Values Using DAX & Power Query | Master Data Skills + AI (enterprisedna.c...

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors