Quantcast
Channel: Service topics
Viewing all articles
Browse latest Browse all 62172

Better to calculate a lookup or create a database view

$
0
0

More of a general question, but it will apply many times to the reports I am building with this dataset.  Data is coming from a MySQL server where I am able to create views.

 

The players table contains data like this:

player_idplayer_nameorg_id
1Jennifer Smith1
2Adrian Wells2

 

The org table contains data like this:

org_idorg_name
1Blue Team
2Red Team

 

I want to be able to slice player data by org_name.  Even when I set the relationships, I can't seem to create a slicer that shows org_name.  

 

My questions:  First, am I missing something that would allow me to create this slicer without either adding a new column in Power BI or creating a view with this data at the source?  Second, for a largish data set (~750k rows), am I better off adding a calculated column showing org_name in the players table or creating a view in the database that I import into Power BI?


Viewing all articles
Browse latest Browse all 62172

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>