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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sreddy47652
Helper III
Helper III

how to show constant value based on date selection in slicer

Hi Team, I want to show constant value based slicer selection on user. I have below measure which is counting the backlogs so  i want to show this backlog value in all rows.

Count_Backlog =
var startdate =MIN('Financial'[Create_Date.Created_Date])

RETURN
CALCULATE( DISTINCTCOUNTNOBLANK('Financial'[CR_ID])
,'Financial'[Create_Date.Created_Date]<=startdate &&
NOT('Financial'[Sub.FinalState] IN {"CPA", "PCR", "FCI", "PCO"})) -- This measure will return the values as 2315

So now i am trying to use below meausre to show constant value(2315) for  all rows but it was not giving as expected.

Count_Backlog_ConstantValue = CALCULATE([Count_Backlog], ALL('Financial'))

Can anyone help me how can i show  constant value for all the rows.

9 REPLIES 9
v-xiaocliu-msft
Community Support
Community Support

Hi @sreddy47652 ,

 

Sorry, I'm still unclear about the relationship between your needs (measure) and the your sample data. I hope you haven't oversimplified your problem and sample data structure.

 

Best Regards,

Wearsky

v-xiaocliu-msft
Community Support
Community Support

Hi @sreddy47652 ,

 

Sorry, the link still cannot be accessed anonymously.

 

Best Regards,

Wearsky

v-xiaocliu-msft
Community Support
Community Support

Hi @sreddy47652 ,

 

Thanks for sharing. But I can't access the link as I don't have access rights.

 

Best Rgards,

Wearsky

Given access please check

@v-xiaocliu-msft  have you checked the data, any findings please share.

v-xiaocliu-msft
Community Support
Community Support

Hi @sreddy47652 ,

 

Have a good day. I can't reproduce the problem.

vxiaocliumsft_0-1727143951049.png

vxiaocliumsft_1-1727143994142.png

 

Could you provide sample data and expected values?

 

Best Regars,

Wearsky

Ritaf1983
Super User
Super User

Hi @sreddy47652 

Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.