If you want to build KPI visuals as it is presented on the screen below, you can achieve this by adding new measure and use the following DAX expression
Tuesday, August 11, 2020
How to create KPI measure in Power BI
Monday, August 10, 2020
How to apply Regional settings from the Source data formats to the exported data through Data management
As you might know, there is a possibility to setup Regional settings on the Source data format in the Data management.
Unfortunately those settings are not applied automatically. The important thing to make it work is the following:
When create Export project and add entity to the project, set Skip staging toggle to NO. Only in this case, Regional settings will work.
How to use grouping in Power BI and apply group to the DAX expression
Let's say you have field that contains the fixed list of values and you want to group them. In my scenario I have TypeID field that contains the following values: Revenue, Liability, Equity, ProfitandLoss, Expense, BalanceSheet, Asset, Total. In my case, Revenue, Liability, Equity corresponds to Credit and the rest to Debit. What can I do?
- Highlight the TypeID, right-click and choose New group
- Set the Group name (TYPEIDGROUP for example)
- Select Revenue, Liability, Equity values in the Ungrouped values section and click Group button. Rename group in the Group and members section and set Credit name
- Select remaining values in the Ungrouped values section and click Group button. Rename group in the Group and members section and set Debit name.
- The result should be as presented on the screen
Now, you are able to connect to the group and use it in the formula. For example, I used it in the created measure: