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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
LewisElliott
Frequent Visitor

Setting up a Metric for Future Data

Hi,

 

I am trying to create a connected metric that will count surveys booked in the next month. I have a visual, below, that displays surveys that are booked on our system by month.

 

LewisElliott_0-1669649873357.png

 

 

However, there are currently no surveys booked for December, so I cannot select the bar that will be there when the first survey is booked. Is there any way to select a data point that currently does not exist, or do I just have to wait until the first one is booked and create the metric then? If so, is there any workaround? If I have to make a new visual, how should I set it up so that the metric I create from it will only show me the number of surveys booked in December, even if that number is 0, and won't count surveys booked before or after?

 

Thank you in advance for your help.

 

Lewis

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @LewisElliott 

Make sure you have a calendar table and then add custom measure to calculate the number of surveys based on "YearMonth" field in the calendar table.

If it doesn't work, please share a sample file for further research.

 

Best Regards,
Community Support Team _ Eason

View solution in original post

3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi, @LewisElliott 

Make sure you have a calendar table and then add custom measure to calculate the number of surveys based on "YearMonth" field in the calendar table.

If it doesn't work, please share a sample file for further research.

 

Best Regards,
Community Support Team _ Eason

Hi,

Thanks for your reply. That's a nice solution and it makes sense. Can I select the measure directly when I am choosing what to connect my metric to, or do I still need to put that measure in a visual so that I can select it in this UI?

LewisElliott_0-1669713971373.png

 

(apologies for my poor quality censorship)

Hi, @LewisElliott 

I'm not sure if the former is possible.

I would probably lean toward the latter.

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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