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
AndreiK15
Helper II
Helper II

Wrong values if Calendar Slicer is set to Between

Hello everyone,

 

Why do I get wrong values if I set my Calendar slicer to between, but when select it to dropdown, will get the right value for Net Trans Amt?

 

AndreiK15_0-1645534311241.png

 

AndreiK15_1-1645534387767.png

 

Any idea?

 

Thanks!

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@AndreiK15 , Create a new measure and put on card viusal and check diff between two

 

var _max = maxx(allselected('Date'),'Date'[Date])
var _min = maxx(allselected('Date'),'Date'[Date])
return

_max & " " & _min

 

If they are the same in both cases, share your measure to check.

 

Are you using some time intelligence functions?

View solution in original post

4 REPLIES 4
AndreiK15
Helper II
Helper II

@v-xiaotang Thanks for replay, but I managed to solve the issue based on @amitchandak answer. I have removed filters and changed calendar table. 

AndreiK15
Helper II
Helper II

@amitchandakthanks for your quick replay... this is what I get and don't understand why it retruns the end of the year as max:

 

AndreiK15_0-1645536241775.png

 

Hi @AndreiK15 

I cannot reproduce that behavior in my side. In my test, it returns

vxiaotang_1-1645764423087.png

Measure = 
var _date1 = MINX(ALLSELECTED('Table'),'Table'[date])
var _date2 = MAXX(ALLSELECTED('Table'),'Table'[date])
return _date1&UNICHAR(10)&_date2

Could you please provide a .pbix file with that problem? Thanks

 

Best Regards,

Community Support Team _Tang

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

amitchandak
Super User
Super User

@AndreiK15 , Create a new measure and put on card viusal and check diff between two

 

var _max = maxx(allselected('Date'),'Date'[Date])
var _min = maxx(allselected('Date'),'Date'[Date])
return

_max & " " & _min

 

If they are the same in both cases, share your measure to check.

 

Are you using some time intelligence functions?

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 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.

August Carousel

Fabric Community Update - August 2024

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