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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Squrlswrld
New Member

Smart Narrative Previous Month pulls 0 and not the value

I have three data points:

  • All Centers which is the total number of cases
  • Status which is one of 6 options but I am working with Open 
  • Report Dates (which are all the first of the month.

I created a measure to get the date of the previous month which is working fine, but when I try and get the Open cases it is returning 0 and not the value of all centers.  My narrative for the most recent month is:

 

2023-06-02_8-10-12.png

 

Which while throwing an error for multiple columns is in fact giving me the right total.  When I try a similar narrative for my PrevMonth measure I get 0.

2023-06-02_8-11-51.png

If I replace PrevMonth with 02/01/2023 I get the correct total of 87,193 but need this to be dynamic without having to change that all the time.

 

What am I doing wrong or should (and how would I) create a calculated table or measure first and use that in the narrative.

 

Thanks.

 

 

 

0 REPLIES 0

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.