Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
my data has 3 dates(01-01-2023,02-01-2023,03-01-2023) in row but user select slicer in date between (02-01-2023 to 03-01-2023) then 01-01-2023 has to show 'opening' else 02-01-2023, 03-01-2023 in power bi
Solved! Go to Solution.
pls see the attachment below
Appreciate your kudos. if my solution is helpful, pls mark it as an accepted solution. Thanks
Proud to be a Super User!
Hi @ryan_mayu
i have faced some issue from your solution ,i attached the original data set for your reference.
do the group by in the PQ
then each data will only have one row.
the rest steps are the same
Proud to be a Super User!
Hi @arun90 ,
Can you please clarify? If the user selects dates between 02-01-2023 to 03-01-2023 what date do you expect as opening? And what do you mean by "else 02-01-2023, 03-01-2023"?
Hi @danextian ,
My slicer have between dates, i select some between dates my table docdate have to show less than of my date values show "opening" rest all have to show between dates,i attached screen shot for you reference.
Thanks.
maybe try
if (max(document date )<min('date) ,"opening", max(doucment date))
Proud to be a Super User!
could you pls provide some sample data(not screenshot)and the expected output
Proud to be a Super User!
i can't open the link
Proud to be a Super User!
ok, pls also provide the expected output
Proud to be a Super User!
so if we select 1/4, the opening will be 1/3? and the qty is 10040?
Proud to be a Super User!
@ryan_mayu Thank you so much .it will work for only single date in slicer but its not working with between dates in slicer .
if we select 1/3 - 1/6 ,what the expected output. pls also provide it
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!