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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

adobe analytics connector - How to get a DATE picker/selector in the canvas to build a dashboard?

Hi community,

 

I'm totally new in using Power BI, and especially leveraging the Adobe Analytics connector. Therefore, apologies in advance for the ridiculous question I'm going to ask here, but I cannot find any document online (from blog, forum, tutorials...) to answer my question.
I want to build up a simple dashboard to visualize Audience, Behavioral and performance siteCentric KPIs.

 

I already pulled the data sets I need, among which all date granularity levels and other dimensions with metrics, see below screenshot:

 

power_bi_screenshot_dataset_configuration.PNG

 

I know how to set visualization widgets, but I would like to first of all start by adding up a Date selector, that is obviously essential when we talk about automatic dashboards :). 

How to create a date picker / date selector in power BI? it seems there is no native widgets to do so, hence do I have to create sort of formulas, filters?
It should be the easiest thing in the world but I'm pulling out my har on this.

Thanks a lot in advance for your help!!

Best

victor

 

4 REPLIES 4
Anonymous
Not applicable

v-lili6-msft
Community Support
Community Support

hi, @Anonymous

It seems that the date column is divided into three columns( year, month, day).

Then you could create a calculate column like this

Date = DATE('Table'[Datelevel1: year],'Table'[Datelevel2: month],'Table'[Datelevel3: day] )

4.JPG

Then drag this field into slicer.

5.JPG

 

Best Regards,

Lin

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks a lot @v-lili6-msft, it works ! Now i have an other problem, when i move my slicer my data isn't reloaded. hence, I think the issue comes from my Query notably for the Start date and End date.

I found some post in the forum that give some functions, but when I try, i get and error. 

I want my report to show dynamically the date for the last 30 days (classic for digital dashboards):

 

If I try:

 {Cube.ApplyParameter, "DateRange", {DateTime.Date(DateTime.LocalNow()-30), Date.From(DateTime.LocalNow())}},

I get:

 

 "Expression.Error: We cannot apply operator - to types DateTime and Number.
Details:
Operator=-
Left=12/4/2018 7:11:33 PM
Right=30"

 

Then if I try:

 

       {Cube.ApplyParameter, "DateRange", {Date.From(DateTime.LocalNow()-30), Date.From(DateTime.LocalNow())}},

I get:

 

"Expression.Error: We cannot apply operator - to types DateTime and Number.
Details:
Operator=-
Left=12/4/2018 7:11:33 PM
Right=30"

 

Where is my error?

thanks a lot again!!

best

victor

hi, @Anonymous

when i move my slicer my data isn't reloaded. 

When you change data in Slicer, slicer is just a visual, it works on your report, not the data model. 

 

 

If you want to reload your data, it should use Parameters in Power BI.

This is the tutorial for you to refer to

reference:https://www.mssqltips.com/sqlservertip/4475/using-parameters-in-power-bi/

 

and for show dynamically the date for the last 30 days 

You could add a calculate column to judge is this row date is last 30 days like 

filter = IF(DATEDIFF(Table1[Date],TODAY(),DAY)<=30,"last 30 days","not")

then drag this field into report level filter set filter is "last 30 days"

12.JPG

 

Best Regards,
Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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