Read FAQ
NEW
Bitrix24 Support
Registration and Login
Bitrix24 Security
Plans and Payments
AI in Bitrix24
Alaio Vibecode
Employee Widget
Booking
Contact Center
Sales Center
Analytics
BI Builder
e-Signature
Knowledge base
Telephony
Bitrix24 Messenger
General questions
Past updates
Log In
Your Bitrix24
Authorize to enter
your company's Bitrix24.
Enter

Bitrix24 Helpdesk

Filter report data by different dates in Microsoft Power BI

The BI connector lets you filter report data by different date fields. In the advanced editor, you can set a date range and choose which date field to use for filtering:

  • DATE_CREATE — creation date
  • DATE_MODIFY — modification date
  • DATE_CLOSED — closing date

The filter applies before the data loads into Power BI. You do not need to create additional filters in the report.

For example, you can create a report that shows only closed deals for a specific period.

Go to the Transform data section and open bx24_load_entity in the advanced editor.

Replace the current code with the following example:

 Content = Json.FromValue([dateRange = [

                            startDate = #date(2022, 10, 23),
                            endDate = #date(2022, 10, 23)

                            //startDate = Date.AddYears(Date.From(DateTime.LocalNow()),-10),
                            //endDate = Date.From(DateTime.LocalNow())
                            
                            ],
                            key = #"Secret key",
                            configParams = [ timeFilterColumn = "DATE_CLOSED" ]
                            //DATE_CREATE (23.10.2022)
                            //DATE_MODIFY (23.10.2022)
                            //DATE_CLOSED (23.10.2022)
                        ]
                    )
                ]
            ),
            jd = Json.Document(response)

Use the following parameters:

  • startDate and endDate — define the date range for the report data.
  • configParams = [ timeFilterColumn = "*****" ] — defines which date field to use for filtering.

Available values for timeFilterColumn:

  • DATE_CREATE — creation date
  • DATE_MODIFY — modification date
  • DATE_CLOSED — closing date

In this example, the report filters deals by the closing date 23.10.2022.


Was this information helpful?
Thank you for your feedback.
Get Implementation Help from a Partner
That's not what I'm looking for
Complicated and incomprehensible text
The information is outdated
It's too short. I need more information
I don't like the way this tool works
Get your Bitrix24 set up by local professionals
FIND BITRIX24 PARTNER NEAR ME
implementation_helper_man
Go to Bitrix24
Don't have an account? Create for free
Related articles
Transfer CRM entities to Microsoft Power BI Limit the number of columns in a Microsoft Power BI entity Add multiple SPAs to a Power BI report Hide IDs at the beginning of text fields in Power BI Connect Microsoft Power BI