How can I make my cards independent from each other? - powerbi

I'm trying to create an interactive dashboard on Power BI and there is something that is driving me crazy.
Here's the situation, I have on my dashboard two slicers, one to choose the year and one to choose the business unit I want to see data from. I also have two cards, one to display the net income per year and one to display the net cash flow.
When I choose a year and a business unit, I want to see the net income related to that year and business unit but also the net cashflow.
However, it seems that my two cards are linked. Here's an illustration to make things more easy to understand:
The values of my cards are always identical. If I change one it changes the other. Why?
How can I make them 'independent'?
Thank you for your help

It sounds that you need to adjust interactions between slicers and cards.
Click on slicer > Format and click on Edit interactions
top menu
You will see Filter and None icons on each of the card visuals and second slicer.
Check None on the card which should not be affected by visual.
card visual

Related

I'm a Power BI noob struggling to understand how bookmarks work

Our Power BI developer quit and I've inherited his applications. The problem is I have no Power BI experience and am learning via trial by fire. I've currently been tasked with adding some new fields to an app that's using bookmarking. Below is a picture of my app, I added the # Student Grades cards under each score. Users have the ability to see current Progress scores, end of Semester 1 scores, or end of Semester 2 scores. As I understand it, that means I need to add the same card three times -- one for each view/bookmark, and then in the section grid hide/unhide the appropriate cards. The issue I'm having is that when I'm ready to Update a bookmark, I'm clicking on the three ellipses next to the bookmark and selecting "Update". The issue though is that it makes that update to all the bookmarks! Can someone tell me where I'm going wrong?
I'm using Power BI Desktop V2.108
Thanks in advance for any help you can give!!
check if there is any Group in the bookmarks... also check the below All Visuals checked or not...

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?

How to create a ranking leaderboard/ladder in PowerBI or Tableau?

Say I want to create a leaderboard, where each rank (1st, 2nd, 3rd, etc) displays their name, statistics, and points, maybe even their portrait if that's feasible. In addition to that I would like to have a feature where there is a dropdown menu to see the rankings from previous weeks, just to let viewers see how the rankings have changed. I've dug around the internet and can't seem to find exactly what I want. Thanks

Managing Interactions - Power BI

Having some trouble managing interactions between slicers and graphs in PowerBI.
Some visuals are showing as not having an interaction to manage even though they change when the slicer is changed (when i say no interaction i mean there is no option to block the interaction).
I am using a line graph linked to a slicer, the data is working as it should until i try to lock in the results for one particular sub group and then block any further interactions with the visual, when i do this the data then changes.
Any help or suggestions would be much appreciated.
Lee
For your questions:
Every visual allows you to Edit Interaction, however, if you have a lot of visuals and some of them are for example on the top of your page, the icon for editing can appear invisible, however, if you move the visual to a place where there is space above the visual, it will show up (I just tested it, all visuals that were on top *(and there were other visuals below them)*, didn't show the interaction button).
So basically, move the original visual a bit, edit the interaction and put it back when it was.
If you want to show only one group in a certain visual, use the filter on this visual and then block any interactions with other visuals.

Power BI - Filter table by clicking on a card

In Power BI, I have a table that contains rows associated with one of five possible categories. I've created three cards that shows the count of rows for category 1, category 2, and the remaining three possible categories.
I would like to filter the table based on the card that I click on. How can I filter visuals by clicking on a card?
You can do this by using bookmarks. The following link walks you through how you can create a bookmark and use it:
https://learn.microsoft.com/en-us/power-bi/desktop-bookmarks
You should place buttons over each of the cards (Make sure you turn off the background and borders to make sure they look aesthetically right). Then all you have to do is assign bookmarks to each of the buttons to filter the corresponding data. Hope this helps.
I developed a custom visual called Slicer Button that can be used to essentially turn a card into a slicer/filter. The bookmark solution above has some drawbacks, such as affecting other filters, which this custom visual avoids.
Below is a GIF of the visual in use.
I've included a YouTube video demonstrating how to setup and use the visual and a link to the GitHub repository that hosts it.
Basic Setup & Use: https://www.youtube.com/watch?v=8x2QoE8M2yA&ab_channel=MattKocak
GitHub Repository: https://github.com/mattkocak/powerbi-visuals-slicerbutton
Let me know if you have any questions or comments. I'm happy to clarify anything. I also have a blog post on the topic titled Turn your cards into slicers with the Slicer Button custom visual.