image

How to Enable “Assume referential integrity” to Speed Up DirectQuery

When connecting to a data source using DirectQuery, you can use the Assume Referential Integrity selection to enable running more efficient queries against your data source. This feature has a few requirements of the underlying data, and it is only available when using DirectQuery. Setting Assume referential integrity enables queries on the data source to use INNER JOIN statements rather than OUTER JOIN, which Read More

image

How to Add Images, Videos, and More to Your Dashboard

By adding a tile to your dashboard, you can place an image, text box, video, streaming data, or web code on your dashboard. Watch Amanda add tiles to a dashboard.  Note This video might use earlier versions of Power BI Desktop or the Power BI service.https://www.youtube.com/embed/e2PD8m1Q0vU Add an image, video, or other tile You can Read More

image

How to Use DATEDIFF to Calculate Date # and Fiscal Date # in a Year

DATEDIFF returns the count of interval boundaries crossed between two dates. Syntax DAXCopy Parameters Term Definition start_date A scalar datetime value. end_date A scalar datetime value Return value. interval The interval to use when comparing dates. The value can be one of the following: – SECOND– MINUTE– HOUR– DAY– WEEK– MONTH– QUARTER– YEAR Below, see Read More

image

How to Add a New Table by Using DISTINCT with Multiple Columns

The SELECTCOLUMNS function simply takes some column/columns from another table and create a new table from them. For example, you can take only one column, Revenue, The syntax of SELECTCOLUMNS is simple: Smaller table = SELECTCOLUMNS(Table1;”This day revenue”;[Revenue]) It is the new table name, column name in the new table, column name in the original Read More

image

How to Fix “Begins with”, “Ends With”, “Contains” Missing in Power Query Filter

If you use PowerQuery (if you don’t learn as quickly as possible), you may notice that in the filter, some of the options you want to use seem to be missing. So why is ‘ Begins with, Ends With, Contains ‘ missing from some PowerQuery filters? In the example below I want to remove any Read More