Force Power Bi slicer to be single select - powerbi

I have a Power Bi dashboard that looks like this:
But I dont want all the rows of everyone's data to show up. Ideally its single select only, these results look great when only Elizabeth is selected (not sure why screenshot looks like two people):
Because I want to stack quite a few other tables in the dashboard that are one row only, like so:
So my question is: how can I force the name slicer on the left to ONLY allow one person to be selected, and never be 'not' selected where lots of people are involved? Does that make sense?

That is a table and not a slicer. Tables will display everything you ask them to. If you switch it to a slicer, you can make it single select.

Related

Get slicer to affect other tab in Power Bi

I have a report like this:
It's got three tabs, based on three separate SQL queries (and Power bi queries) of our database.
One tab is based on all the subjects we have in our program
One tab is a query of a database with all the staff associated with all the
subjects in our database
The third tab (that I am working on now) is from a query of all the subjects in our database that need reconsent. The way I envision all three tabs working is that you start in the first tab, filter to the subjects you care about, and then those slicers/filters affect the next two tabs.
My problem is:
I dont know how to get the slicers/filters in the first tab to affect the others. I was able to get the second tab linked by just merging those two queries (there's pretty much 100% overlap) and just using "one" dataset for both.
I've tried "manage relationships" and created a relationship between the first query subject mrn and the third query subject mrn... but even though there's a 'relationship' between the two... thats not enough for slicers on the first tab to affect anything on the third tab. How do I do that?
I asked this on the power bi forum as well and was given some followup questions that I'll add info from here:
The sync slicers setting is on:
And if I go look at the table on the third tab, it says a bunch of slicers are currently affecting it:
(I changed the slicer values between taking these screenshots, dates look different in each)
Also here is a photo of the relationship between queries in the model:
So to repeat/rephrase:
Let's say I use slicers on the first tab to filter to 10 people coming in the next week (which are in one query). Lets say 1 of those people exists in the third query as someone who needs reconsent. How do I get only that one guy to show up on the third tab with his info from that query?

Power Bi dealing with repeated instruments from REDCap

I have data like this:
It comes from REDCap, and as you may be able to tell, the data in the far right columns are repeated variables about each "protocol_title" (the far left column). I.e. "Love it" and "I want a disc instead" are both about "study 2"
I've imported the data into Power Bi and currently I have this:
What I'd like is for the top left visual to only have one row per study (with columns such as principal investigator and method of image transfer, i.e. columns that had data in the first row) and a visual on the lower left with all the right-most columns.
By switching the top visual from a table to a matrix I can kinda accomplish this:
But it adds a bunch of unnecessary columns. As an alternative I thought I could add a filter to the top visual that would filter to "redcap_event_name"=="protocol_information" which would only be those top rows.... but given the visuals are linked, if I do that it removes everything from the bottom visual. I'd like to keep the link between the visuals so that if I select "study2" in the top visual, it'll highlight relevant study 2 information in the bottom one.
So my question is: what's the best approach for making the visuals I want? Are there special settings for visuals? Do I need to do something to the data first in the query? How should I go about this?
You might want to rework you data structure. At first glance, your flat source table could be parsed into two tables :
Protocol
Survey
This can be done in PowerQuery.
For Protocol :
Select columns A to R.
Filter on redcap_event (?) starts by "protocol_info"
Delete empty rows
For Survey
Select columns A (to keep the protocol ID and be able to link both tables), T and U.
Filter on redcap_event (?) starts by "survey"
Delete empty rows.
You should end up with the two table with a one-to-many relationship between Protocol[Protocol_ID] (column A) and Survey[Protocol_ID] (same)
And it should make everything much easier: visuals, calculations...

In Power BI Desktop, how can I group all measures together (instead of placing under different tables)?

Tableau automatically groups measures together but Power BI Desktop doesn't natively support this. I find it annoying to have to place measures under imported tables as the measures don't really belong to those "parent tables" (and quite often take input from multiple tables — which one would you consider the "parent"?)
So I experimented with some workarounds and I'm sharing the successful (as of the date of this post) ones here:
Method 1 (recommended): "Model" view > "Enter data" to enter a manual data table. Give a name like "_Measures_" so it appears on top of tables, and keep only the default dummy column "Column". Create/move measures under it, then right click to delete that "Column". Now you're left with a blank table that groups those measures under it.
Method 2: "Data" view > "New table" to create a DAX calculated table. Rest the same as above, except that for a DAX calculated table you can't delete the dummy column but instead you can hide it.
You can also "Enter data" using Power Query Editor but I don't recommend going with that extra step -- workarounds are supposed to be quick (and dirty) anyways!
Final results look like this (note the difference of the icons):

How To Pivot Table Visualizer in Power BI

I have some measures and a calculated field from a dataset that show me the following:
The highlighted row/column is just to show the different output.
This works great except that the data needs pivoting to looks like this:
I have tried to do this with a Matrix Visual but it seems you can not put Measures in for the Rows. I have looked into it on the web and nothing is really doing what I need.
You can put your months as columns and then go to the Format pane, Values section, and toggle the option Show on rows:

Plain Report in PowerBI report similar to repeatable section in Cognos

I'm new to Power BI but am not seeing something that I feel should be pretty common report functionality. I have a cognos report that has a list grouped by specific fields, each item in the list has fields, etc. Each "item" is repeated in the list.
Can Power BI do something similar to this functionality? I have been looking at multi-row cards, tables, etc. but I'm not seeing a repeater control or something that would allow to mimic this functionality? The multi-row cards would work but I can't style them how the customer wants or needs b/c they are printed and need to match a certain format.
Even the single cards, if I could drop all the fields I need as single cards, format them how I want. Is there a way to have all rows repeated in a "list/set" of those single cards? Right now when I drop a bunch of single cards and a splicer it displays the first record and that is it? Surely there is a way to get all the records.
Here is an example (I need the formatting to remain basically the same, each row from data source represents one page that looks like this)
Thanks,
Tim
I don't think this is possible in Power BI yet. A muti-row card has similar functionality, but is not customizable enough to match what you are trying to do. Custom formatting is one of the drawbacks of Power BI at this time.
You can vote for this idea on the Power BI Ideas site, but I'm guessing it's not a high priority for Microsoft for now.