Use dataflows to organize your work and to separate ETL from visualizations. Trust me, for I'm a stranger you found in a blog, this will change your report designing habits for good.
Your lineage should go from data source(s) to PBI report/dashboard/app like this:
DS --> Dataflow -> Report
Datasources can be wherever they might be as long as you can connect to them from the PBI Desktop and PBI Service.
Dataflow will be designed in the Power Query Editor of PBI Desktop and in the Model and Data views of PBI Desktop and published in PBI Service.
Report will be designed in the Power Query Editor of PBI Desktop and in the Model, Data and Report views of PBI Desktop and published in PBI Service.
The above stunning graph in more verbose format:
- Connect to your data source(s).
- Get the raw'ish data.
- Do the thing in the Power Query. Do the cleaning, transformations etc. Make the data so good that there's nothing for the usual end user to tinker.
- Disable all the loads except for the ones you wish to be seen by the dataflow users.
- Create a data model using the Data view of PBI Desktop. Make it nice. Like nice.
- If there's common calculations or measures to be done, do them. Use PQ or DAX, depending on the needs and your skill level.
- Keep away from the Report view. Hush. There's no need to go there. Forbidden. You remember Adam and Eve? This is your apple. Don't touch it or you'll be banished from the garden of low hanging fruits called clean dataflow.
- Publish your dataflow to PBI Service. Give it a descriptive yet good, sturdy name. Have a small party of 5 people with non alcoholic drinks and light snacks. Be considerate and take different allergies into account. Being a vegan is not an allergy, so you can freely not invite those kind of people.
- Design your report in PBI Desktop. Use the freshly created dataflow as a data source. Take some time to cherish the fact that there's no need to tinker with data as usually. Just hop on to designing the most fabulous report ever done in the history of fabulous reports. No more twiddling with text inputs in date fields! No more fiddling with data models! Just go on and create. Be the Bob Ross of PBI. There are no mistakes, no happy accidents, just pure enjoyment of clean, fresh data.
- Publish your report.
Bonus step: If it turns out (as it should) that the dataflow is pure gold and source of the ultimate truth, promote it or even certify it, if your tenant allows it.
Kommentit
Lähetä kommentti