Загрузка...

Day15 - Power Query - Query Dependencies - Managing Parameters - Index Columns - Conditional Columns

Query Dependencies ::

Query Dependencies in Power BI refer to the relationship between queries in the Query Editor. In Power BI, you can have multiple queries, and one query can depend on the output of another query. Query Dependencies are important to understand because they can impact the performance of your queries and the overall performance of your report.

When you create a new query in Power BI, it can depend on the output of one or more existing queries. For example, if you have two queries, one for sales data and one for customer data, you can create a third query that merges the sales data with the customer data. The third query depends on the output of the first two queries.

To view Query Dependencies in Power BI, you can use the View Dependencies option in the right-click menu of a query in the Queries pane. This will show you all the queries that depend on the selected query and all the queries that the selected query depends on.

It's important to be mindful of Query Dependencies when designing your queries in Power BI because they can impact the performance of your report. If you have a query that depends on another query that has a large amount of data or takes a long time to execute, it can slow down the performance of the dependent query. To avoid this, you can optimize your queries and reduce the amount of data they return, or you can split large queries into smaller, more manageable ones.

In summary, Query Dependencies in Power BI refer to the relationship between queries in the Query Editor. Understanding and managing these dependencies is essential for optimizing the performance of your report.

Copy , Duplicate and Reference::

In Power Query, there are three ways to replicate data: duplicate, copy, and reference. Each method creates a new table with the same data, but there are differences in how they function.

Duplicate: This option creates an exact copy of the table, with a new name. Any changes made to the original table will not affect the duplicated table, and vice versa.

Copy: This option creates a new table that is identical to the original table, but with a different name. However, any changes made to the original table will also be reflected in the copied table, as they share the same underlying data.

Reference: This option creates a new table that references the original table, rather than copying its data. Any changes made to the original table will also be reflected in the referenced table, as they are essentially the same data.

In summary, if you want to create a new table that is independent of the original, use Duplicate. If you want a new table that is identical to the original and updates along with it, use Copy. If you want a new table that references the original and updates dynamically, use Reference.
Managing Parameters::
Parameters in Power BI are user-defined values that can be used to filter data, change visualizations, and perform calculations. Here are the steps to use parameters in Power BI:

Create a parameter: To create a parameter, go to the Home tab, click on "New Source" in the "External Tools" group, and select "Parameter". In the "Create Parameter" dialog box, enter a name, data type, and default value for the parameter.

Use the parameter in a filter: To use the parameter in a filter, select the data field you want to filter, go to the "Visualizations" pane, and click on the "Filters" icon. In the "Filters" dialog box, select the field, choose "is equal to", and select the parameter from the drop-down list.

Use the parameter in a calculation: To use the parameter in a calculation, create a measure by going to the "Modeling" tab, clicking on "New Measure", and entering a formula. To use the parameter in the formula, use the syntax "@parametername".

Use the parameter in a visualization: To use the parameter in a visualization, select the visualization, go to the "Visualizations" pane, and click on the "Format" icon. In the "Format" dialog box, select the option that corresponds to the parameter you want to use, and choose the parameter from the drop-down list.

By using parameters in Power BI, you can make your reports and dashboards more flexible and interactive, allowing users to customize their experience based on their needs and preferences.

Видео Day15 - Power Query - Query Dependencies - Managing Parameters - Index Columns - Conditional Columns канала Suman Kumar
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять