Using a hierarchy from one table to another - powerbi

!]1
Hi I am doing a graph with data from one table , I would like to use in the filter a hierarchy from another table but I don't know how to do it.
Anyway could help? I just begin in Power BI

It looks like you already have a relationship established between the two tables. If you just want to use the fields within the hierarchy as a filter, you can drag and drop the fields into the filter pane and use it there. If you want to use a slicer and the entire hierarchy, you would have to use the "Hierarchy Slicer" from the marketplace. If you haven't imported visuals from the marketplace before, you can do it by clicking on the three dots (...) at the end of the "Visualizations" pane and selecting "Import from marketplace". Then search for Hierarchy slicer and import it.
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380820?tab=Overview
Hope this helps.

Related

Slicing the power BI report only by slicers not images

I have a scenario where I am using date and country slicers along with maps in my report along with some stacked charts.
When I click on the map for one country it filters the data based on that country I have selected but the filter is not reflected in slicers.
Is there any way that I can use the map only to display the counts without having select, in other words, no selection allowed on the maps?
Any suggestions would be helpful.
Thanks!
Go to Format tab and select Edit Interaction option as shown in the below image. Now select your Map visual and set Filter = None in other visuals you don't like to interact when click on the Map.

Power BI with SQL Analysis Services: how to "Hide" all not used tables from "Fields"

When I work in Power BI Desktop connected to SQL Analysis Services, my model looks like this,
Enter image description here
And the "Fields" tab on the right spans for more than a page long:
Enter image description here
In reality I actually use only a few tables and a few columns in those tables + my measures.
To simplify that look, I can go to ellipses near each tables title, and hide that particular table. I also can do this on "model" tab, but in my case, when I have a few dozens of tables, it is time consuming.
Is there a way how to "hide" all not used tables and columns, to help report consumers to comprehend the model and my calculations?
You can also easily hide multiple fields in Power BI Desktop. The best place to do that is to go into the Model tab. Then select all fields that you want to hide (using Ctrl or Shift with selection), and then in the Properties tab beside it, turn the Is Hidden property to On.

Power BI Visualize Many to Many

I currently have two tables: A "Send ID" table and an "Affiliation Table" each based on a column of customer IDs.
No columns have purely distinct values so I cannot create a many to one relationship.
I would like to visualize the Send IDs based on the Affiliations as shown here:
Desired Output
I can work with either having the Send IDs repeat per affiliation in the new desired table or have them unique per affiliation - either way works with me.
Any help would be appreciated.
Thank you
noyraz's solution in establishing a many to many relationship based on the customerID should suit your needs.
If you are required to find out where a customer appears in the affiliation table or sendID table, I highly recommend performing a full outer join in the query editor.
Using the picture below, right click on any of the tables, and select reference.
Reference Screenshot
Then rename the table if you like
Click on Merge Queries
In the drop down, select the other table you didnt reference, then click on both customerIDs
select full other join.
Full Outer Join labled screenshot
Expand the new table column
deselect the ID if you like.
Expanding Column Screenshot
If there are occurrences where they don't appear (useful for sending and delivered tables), you can do visual level filters to see where either the Affiliation or SendID is null/blank.
when you create Many To Many relationships like Here
all you have to do next it's just visual this like you desire
hope I understand your question right

Is there any drill through possible within a single table in Power BI?

I have a table Visual where the Data like Date,Description,Value,Type are present. If the one of the 'Type' value is clicked the Next row should expand showing the details related to that type , like - > ID, Message. Also the Expanded detailed row should come up only when the selected user group does the Type selection within the same Power BI table visual.
I have created 2 tables.I have created the relationship between these two tables using the ID column.Since its the OLAP based Report, I have created the RLS implementation on the 2nd table for the particular user group.
Yes, create a hierarchy in your model. In the fields pane right-click Type and click New hierarchy. Then right-click ID and click Add to hierarchy. Many visuals like the Matrix and others, will then offer drill down.

Hierarchy in Fields pane in Power BI

I apologize if this is a 'starter' question but i have not been able to find any answers in tutorials.
This started when i accidentally let go of a entry in the fields pane in Power BI. The entries turned into a parent-child relationship ( please see image ), but i can't find any such relationship in query editor or relationship manager.
Power BI fields Pane
May i know what is this and how do i get rid of it?
You have inadvertently created a custom hierarchy.
Your original fields still exist, so you just need to delete the hierarchy. To do that, right-click the hierarchy top level and select "Delete" from the context menu.