Reply
AndreiK15
Helper II
Helper II
Partially syndicated - Outbound

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

Syndicated - Outbound

@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?

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
AndreiK15
Helper II
Helper II

Syndicated - Outbound

@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

Syndicated - Outbound

@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

 

Syndicated - Outbound

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

Syndicated - Outbound

@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?

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)