Different Slicers for Different Visualizations in PowerBI - data-visualization

I am very new to Power BI.
Let's say I have a data containing student's English proficiency tests. The name of the data is EnglishScores. The columns inside this data are Listening, Writing, Speaking, and StudentIDs. I created a measurement called StudentGrade from the StudentID to differentiate them based on which grades they are on (fourth grade, fifth grade, and sixth grade).
I want to create three visualizations for each of the scores (total number of viz: 3) and slicers for each of these visualizations as well (3 slicers) based on the student grades.
I successfully create a visualization and slicer for the Listening column. But the problem is that when I create another slicer from the StudentGrade for the other scores, it links to the previous slicers and visualizations.
How can I make new slicers filter certain visualizations?
Thank you

You can accomplish what you need by editing the interaction settings for the filters and visualizations.
Assuming you're using Power BI Desktop:
In short, select a slicer and click the "Edit" button in the Visual Interactions group on the ribbon menu. You can probably figure it out from there, or check this video for more details. You'll just repeat that for each filter/visualization combo you'd like to adjust.
https://www.youtube.com/watch?v=N_xYsCbyHPw
Here's a page with written instructions if you prefer that to the video:
https://powerbi.microsoft.com/en-us/documentation/powerbi-service-visual-interactions/

Related

Data lookup based on measure

I am looking for some help in creating a measure to figure out data based on a ranking measure.
I have attached my Power BI file showing my issues and formulae.
https://www.dropbox.com/s/s7xted6lhh38dpo/Test.pbix?dl=0
Essentially, I have few tables that have been mapped. Showing revenue achieved by each employee for each product. The employees are split into 3 Teams.
I want to be able to rank these teams based on various filters that can be selected from one of the visualisations. – I have created the measure to do this using the below formulae:
Rev Measure = SUM(Sales[Rev])
Team Rank = RANKX(ALLSELECTED(Org[Team]),CALCULATE([Rev Measure]))
Now I want to create 2 card visualisation that dynamically fills in the data based on the ranking. So one card would read:
Commentary 1 = "Overall Sales was at $"& [Rev Measure] &". With the best performing Team being Team C bringing in $1220 of Revenue"
In the above commentary I am able to dynamically input the total revenue. However, I am unsure how to proceed with showing the best performing team data.
In the second card visualisation I want to show the worst performing team.
Any help on this would be greatly appreciated.
Thanks!

Bulk data filters in Tableau

Our organization is in e-commerce and users are looking to change a filter everyday with a different list of items, and none of the users will have their own license, just read-only access. The data is connected through Google Big Query, is there a way to have this bulk filter upload capability without the License owners having to touch the filter each time?
Example
Product ID is the filter
Monday: they have a list of 10,000 ID's they want to check sales for
Tuesday: They have a new list of 4,000 different ID's they want to check sales for.
Without clicking each ID each time, is there a way to just upload a list, csv, google sheet etc.
We thought users can upload a list of Product ids to Google sheets which can map to a BigQuery table. We can use it to join with the sales table and get the relevant data. However this becomes unmanageable when we have more than 1 user as users might step on to others data.
Any suggestions/recommendations are welcome. Our team is pretty new to Tableau as such. Let me know if any additional details are needed.
Have you tried changing the filter type to "Multi Values (custom list)" and then having the report user paste their list into the filter? See below:

Managing PerformancePoint Filters With Slowly Changing Dimensions

Just a bit of background info:
I have dimension table which uses SCD2 to track user changes in our company (team changes, job title changes etc) See example below:
I've built an Analysis Services Cube and created all the necessary hierarchy's for the dimensions and it works well when navigating and drilling down through the fact table.
The problem I have is with the filters on the PerformancePoint dashboard. As I'm using the User Dimension table with it's multiple instances of users it's showing duplicates up in the list. I can understand why as the surrogate ID is being referenced on the Dimension. But if I choose the first instance of the A-team I will see all their sales for a particular period and if I choose the second instance I will see all their sales for a different period.
What is the best way to handle this type of behavior? Ideally I'd like to see a distinct list of teams in alphabetical order and when I choose the team name it shows all of their data over time.
I've considered using MDX query filters but I'd like to see if there's anything I haven't thought about.
I realise this isn't an easy and quick question but any help would be appreciated!
The answer was simple after having a trawl through my User Dimension table on the Cube.
Under my user dimension I added 2 duplicate attributes to my attributes list ("Team Filter" is a copy of "Team", "User Filter" a copy of "User Name") these will be used only for filtering the dashboard.
Under the attribute properties for each duplicate I then set AttributeHierarchyOptimizedState to "Not Optimized", I also set their AttributeHierarchyVisible to false as I'd shown the two duplicate attributes in the hierarchy window in the middle.
Deploy your Cube to the server and go in to PerformancePoint. Create a new MDX Filter (this image shows the finished filter)
This is the code I used, it only shows dimension members which have a fact against them (reduces the list a considerable amount) and by using allmembers at the dimension it also gives me the option to show "All" at the top of the list.
Deploy the new filters and now you can see the distinct list of users and teams, works perfectly and selects every instance (regardless of the SCD2 row)

Two Datasets one query

I am trying to create a report using two datasets.
The first has a user id which i need to link to the second one to pull the information required. The second dataset query needs the user.id before the query will work Is there anyway i am able to do this.
Thanks
Can you explain your scenario little clear. Are you trying to have a cascaded parameters in SSRS reports? Say, You need to select a Product from the dropdown (Bat, Ball, Nets etc) and depending on the selection another dropdown will be loaded with the relevant data say (For Ball - Basket ball, Volley ball, Foot ball etc)
You will need to create a subreport and from there pass the user id that is returned from the first dataset into the subreports parameter.
If you have not used subreports, here are some articles: (Assuming you are using Crystal Reports)
http://blog.niklasottosson.com/?p=1137

Looking for an example of selecting a row(s) with multiple columns from a grid view and add them to another grid view?

Here is the situation dealing with a vb.net website, I have students who will be enrolled into a course. The student grid view has many columns like client_no, student_name, date_of_birth, address, etc.
There are over 100000 students so I will need to filter the student grid view to find the correct student to enroll in the course. Once they are found, the user selects them and somehow moves them to the enrolled grid view. If a student drops out then they would be removed from the enrolled grid view.
This process needs to be easy to understand and use. Are there any examples available or other suggestions on how to do this?
Why not just add a comfirmation prompt when you double click that student in the datagridview to enroll them?
you would hook the CellDoubleclick event on the datagridview then do validation of what they are double clicking isn't already enrolled?