Last answered:

22 Dec 2021

Posted on:

22 Dec 2021

1

Data structure for gauge visual

I have a data table where there are a number of metrics. Each metric has its min, max, target, value in the columns. If I want to create a gauge for each metric, looks like I have to put the data of each metric in its own table, rather than all in one data table. In other words, if I have 10 such metrics, I have to split them into 10 tables on 10 different work sheets in Excel, and import them into Power BI as 10 tables.  Do you think there is any efficient way of doing this? Thanks a lot.

3 answers ( 0 marked as helpful)
Posted on:

22 Dec 2021

0

I found the solution. I don't have to split the data into N data sheets. I can just import the original data file and for each gauge, I use filter to get to each metric.

Instructor
Posted on:

22 Dec 2021

1

without looking at the data source it is hard for me to imagine the scenarios you have described. But this is what I would do - create a custom column that will separate each metric for example apples then we have min, max and target value for apples, then we have oranges - min max and target value and etc. Then we simply put a filter on each gauge visual - one for apple, another one for oranges and this is how you can do this by using one data table instead of 10. I hope this helps

Posted on:

22 Dec 2021

0

Yes, you solution is exactly the same as the one that I figured out. Thanks!

Submit an answer