cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
sriramn84 Frequent Visitor
Frequent Visitor

Groupby/Count - Chord Visual - How to retain relationships with other fields?

Hi All,

I am new here. I tried to use a Chord Visual and it works fine. But the visual typically takes 3 fields, From, To and a Value. 

Data:

From	To	DateTime	Type
A	B	10/06/2019 0:00	M1
A	C	10/06/2019 0:00	M1
B	D	10/06/2019 0:00	M1
A	B	10/06/2019 0:00	M2
B	D	11/06/2019 0:00	M2
A	C	11/06/2019 0:00	M3
A	C	11/06/2019 0:00	M1

I have created an Aggregated table(Modeling Tab>NewTable>Dax Query as below).

AggregatedTable =SUMMARIZE (TestChord;TestChord[From]; TestChord[To]; "CountExchange"; COUNT ( TestChord[From]))

Question: As you see below, there is no relationship between the AggregatedTable and TestChord table. Thus I cannot slice the Chord Visual based on the dates. How can I achieve this relationship? 

PowerBI_Visual1.gif

 

 Thanks for the help.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Groupby/Count - Chord Visual - How to retain relationships with other fields?

HI, @sriramn84 

For your requirement, you don't need to create an Aggregated table.

You need to just create a measure (Modeling Tab>NewMeasure>Dax Query as below)

CountExchange measure = CALCULATE(COUNTA(TestChord[From]))

Then drag this measure into visual as below:

5.JPG

 

Now it will be filtered by DateTime. 

here is pbix file, please try it.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Groupby/Count - Chord Visual - How to retain relationships with other fields?

HI, @sriramn84 

For your requirement, you don't need to create an Aggregated table.

You need to just create a measure (Modeling Tab>NewMeasure>Dax Query as below)

CountExchange measure = CALCULATE(COUNTA(TestChord[From]))

Then drag this measure into visual as below:

5.JPG

 

Now it will be filtered by DateTime. 

here is pbix file, please try it.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

sriramn84 Frequent Visitor
Frequent Visitor

Re: Groupby/Count - Chord Visual - How to retain relationships with other fields?

That was simple and worked perfect! Thank you so much Lin! @v-lili6-msft 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 217 members 2,305 guests
Please welcome our newest community members: