I have a table of dependencies where the column names are 'root' dendendencies and everything under the column name is a dependent of the root. Now, what i want to create is a visual in quicksight is some sort of visual that shows the dependencies of dependencies. So, say i have column x with n dependencies, if i select/click on any dependency of x, call it y, it should be able to display column y along with all of the items of column/dependency y.
is this possible in quicksight, and if so how?
I would like an interactive table showing the dependencies
Related
I'm displaying my data in Power BI Desktop table visual using SQL Server Stored Procedure data source. I need data to be sorted in particular user-requested order (there are only 5 rows in the data output). For this purpose I did the following:
Created "dummy" column in SQL Server SP to reflect the ordering requirements (values 1-5)
Specified dummy column in Order By clause for SP output.
In Power BI Desktop I navigated to Power Query Editor and sorted data table by the dummy column explicitly.
Still, after all these steps, data in table visual is sorted differently. Please note dummy column is NOT displayed on table visual (and is not supposed to be). Also, NO manual sorting has been applied to the table visual (both Sort Ascending and Sort Descending options are blurred for the Table Visual).
How can I fix this issue?
Appreciate your help.
P.S. Here is the picture of not displaying Column Tools when clicking on a column:
https://i.stack.imgur.com/gTXFR.jpg
What you may want to try to do is select the column you want to have sorted and set it to sort by the dummy column you have created. This uses your chosen field as the display field but will sort it by your dummy field.
This is very commonly used when sorting months or days of the week where you want to see, say, a day name on an axis but don't want it sorted alphabetically but rather by the order of the day in the week.
Sample screen shot below taken from these PowerBI Docs.
I have imported two tables into Power BI and created a 1:M relationship between Project and Project Status.
I created two measures containing the expression COUNT([ProjectId]) under the Project and ProjectStatus queries called 'Project Count From Project' and 'Project Count From Project Status' respectively.
However the result 'Project Count From Project' shows all the rows. In my scenario how can I create one measure which will give me the correct result whether I'm counting number of projects by status or number of projects a project member participates in.
I'm very keen to understand why the 'Project Count From Project' measure doesn't work. It would be nice to create just one measure that can be used for the same purpose, ie, to count the number of projects according to the context filter.
For example, let's suppose I create a table called Project Members. I shouldn't have to create another measure in ProjectMembers query to show how many projects each member belongs to.
When you create the relationship you need to set the cross filter direction to both, because you have it only one direction it means that the filter on Status is not being applied to the projects table.
If you have it set with both, then you only need 1 measure and it doesn't really matter where you create it, although I would do it on the table where you have the list of Projects.
cbt -instance=INSTANCE ls table lists column families, but I want to list columns themselves.
Column families are explicitly created at the table level, while columns are dynamic and can be completely different per row. So, a general purpose tool to list columns is not necessarily possible.
You can write something for your particular needs using a client library in your language of choice, or parse the output of cbt read or cbt lookup command which lets you read every column in one or more rows.
The Quickstart Using CBT page has examples of using these commands and the output they create.
cbt ls will print all the tables in your current project and instance.
cbt ls <table_name> will list all the column families for that particular table.
Make sure that you have set the project and instance in this case by creating the .cbtrc file. You can find how to set that up here
My model has 2 columns: Source System and Target System and I am using the NetworkNavigator custom visual. My goal is to search for a specific system and display all relationships to that system, regardless if it is a source or target in the relationship.
Assume the following 2 records: Source=A Target=B, Source=B Target=C. I would like to search for "B" and see both records (I am using the NetworkNavigator custom visual).
Is there a way to have one filter that searches in both of my columns at once? (I am transitioning from Qlik to PBI. In Qlik this works out of the box)
One way to do this is to make your network table symmetric by taking the union of the table with itself having the source and target switched.
Try creating a New Table (under Modeling tab) using a formula along these lines:
AllNodes = DISTINCT(UNION(SUMMARIZECOLUMNS(Network[Source], Network[Target]),
SUMMARIZECOLUMNS(Network[Target], Network[Source])))
Then build your Network Navigator visual based on that table instead of the original and add a slicer on either column of this table to do your filtering.
I have an excel sheet with list of few zip codes. Wanted to play with ARCGis
maps. When I imported my excel sheet with zip code, Power BI automatically calculates sum of all the zip codes and gives me a total. Because of this the zip codes are not getting plotted on the map. I just get total of all zip codes when I drag and drop zip code field into the work area. How do I fix this.? Please help
You can see the sigma sign in the picture.
Two approaches.
You can select the field and go to Modeling -> Properties to change the Default Summarization to Don't summarize.
You can change the settings of the values to Don't summarize.