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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
nrsyuhada
Frequent Visitor

Display or show data in table for only on selected date.

Hi, 
I want to show or display data in table view if the user select the single date. But currently the data show on or after the selected date. I want to show only on that date. Is there any solution or dax formula? Here is the reference. 

nrsyuhada_0-1638416522687.png

when user select the date, I want it to show only 34 article number filtered distinct value but right now it show all the article number that are not in the selected date. 

I have tried this dax but it show one data. 

Table =
var selectedDate = MIN('AllData'[Test_Date_Time])
return
CALCULATETABLE(
'AllData',
FILTER('AllData', 'AllData'[Test_Date_Time]=MAX('AllData'[Test_Date_Time]))
)
 
Thank you. 
1 ACCEPTED SOLUTION

Hi, 

I find the solution. But it is not in calendar or date picker style. 
I use date hierarchy and split each into one slicer. 

Here is the design. 

nrsyuhada_0-1638865066526.png


but if anyone has solution for the previous question which is when user click the date in calendar it will show the data. can share it.

Thank you.  



View solution in original post

5 REPLIES 5
VahidDM
Super User
Super User

Hi @nrsyuhada 

 

You can't get data from slicer and create a table based on that, because of that it shows one line item.

Can you share a sample of your data and the desired output in a text format?

 


Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

Hi @VahidDM 

Thank you for your respond, This is my sample of data: 

Test_Date_TimeArticle_noOrder_No
11/11/2021 13:351100002335336
11/11/2021 13:391100002335336
11/11/2021 13:421100002335336
09/11/2021 22:381101002328570
09/11/2021 22:421101002328570
09/11/2021 22:451101002328570
09/11/2021 22:471101002328570
09/11/2021 23:041101002328570
09/11/2021 23:061101002328570
09/11/2021 23:101101002328570
09/11/2021 23:131101002328570
09/11/2021 23:151101002328570
09/11/2021 22:571101002335336
01/11/2021 11:191400001333288
01/11/2021 11:251400001333288
12/11/2021 10:231400001334980
12/11/2021 10:281400001334980
12/11/2021 10:301400001334980
12/11/2021 10:331400001334980
12/11/2021 10:371400001334980
12/11/2021 10:411400001334980
12/11/2021 10:441400001334980
12/11/2021 10:481400001334980
12/11/2021 10:541400001334980
12/11/2021 10:561400001334980
12/11/2021 11:041400001334980
12/11/2021 11:151400001334980
12/11/2021 11:201400001334980
12/11/2021 11:261400001334980
12/11/2021 11:291400001334980
12/11/2021 11:321400001334980
12/11/2021 11:341400001334980
12/11/2021 11:381400001334980
12/11/2021 11:411400001334980
12/11/2021 11:431400001334980
12/11/2021 12:151400001334980
12/11/2021 12:171400001334980
12/11/2021 12:231400001334980
12/11/2021 12:251400001334980
12/11/2021 12:281400001334980
12/11/2021 12:291400001334980
12/11/2021 12:381400001334980
12/11/2021 12:431400001334980
12/11/2021 12:461400001334980
12/11/2021 12:481400001334980
12/11/2021 12:501400001334980
12/11/2021 12:551400001334980
12/11/2021 12:571400001334980
12/11/2021 13:001400001334980
12/11/2021 13:061400001334980
12/11/2021 14:391400001334980
12/11/2021 14:411400001334980
12/11/2021 14:451400001334980
12/11/2021 14:541400001334980
12/11/2021 14:571400001334980
12/11/2021 14:591400001334980
12/11/2021 15:041400001334980
12/11/2021 15:121400001334980
12/11/2021 16:541400001334980
12/11/2021 17:011400001334980
12/11/2021 17:061400001334980
12/11/2021 17:091400001334980
12/11/2021 17:111400001334980
12/11/2021 17:141400001334980
12/11/2021 17:161400001334980
12/11/2021 17:231400001334980
12/11/2021 17:311400001334980
12/11/2021 17:441400001334980
12/11/2021 17:491400001334980
12/11/2021 17:571400001334980
12/11/2021 18:051400001334980
12/11/2021 20:081400001334980
12/11/2021 20:111400001334980
12/11/2021 20:151400001334980
12/11/2021 20:191400001334980
12/11/2021 20:231400001334980
12/11/2021 20:251400001334980
12/11/2021 20:281400001334980
12/11/2021 20:431400001334980
12/11/2021 20:511400001334980
12/11/2021 20:541400001334980
12/11/2021 20:561400001334980
12/11/2021 21:121400001334980
12/11/2021 21:151400001334980
12/11/2021 21:191400001334980

 

My desired output is to show data for  date only on 09/11/2021.

In Data View I can filter the Test_Date_Time equal to the date.

But in the Report View it show data on 09/11 and after 09/11. Is there any solution for this, sir? 

 

Thank you. 

Hi, 

I find the solution. But it is not in calendar or date picker style. 
I use date hierarchy and split each into one slicer. 

Here is the design. 

nrsyuhada_0-1638865066526.png


but if anyone has solution for the previous question which is when user click the date in calendar it will show the data. can share it.

Thank you.  



Hi, @nrsyuhada 

How did you create the slicer in your first screenshot?

It seems that your slicer is constructed based on a range slicer, right?

35.png

"Before", "after", and "between" are not applicable to you, they are more applicable to the selection of date range.

 

Best Regards,
Community Support Team _ Eason

hi @v-easonf-msft 

from the first screenshot, yes i used the slicer and hide the after selection. 

I think because of that my data date show from the selection date on and after the selection date. 

Thank you. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors