Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Table/Measure to retrieve certain information

Hi everyone,

======
First post 🙂
======
Currently, I am working on a project which will help me identify certain areas that are not logging in or engaging with the portal they are provided.
I'm extracting the data from Dynamics ( CRM ) and trying to implement the raw data in a filled map on PowerBI.

I have 2 tables currently with the following :
Table no.1: Conference with active login to the portal in the last 31 days by association

JonathanK5321_0-1653576267265.png

- This table provides the following details :

-Columns: Name, New agresso code, last login to the portal, location, Area, Region code, Country, Region, Country, Country short for Bing

-Shows the user which *confrences have been actively logging in the past 31 days ( only shows last login in date/time format, not multiple figures for a confrence )

 

*A confrence is a location where all of the members meetup to liasie/work and logon to the portal "inhouse" > we have named the confrence under "Name" in both tables 

 

Table no.2: Home visitation confrence 

JonathanK5321_1-1653576357435.png

- This table provides the following details :

- Columns: Region, Area, Name, Location, Main activity, New agresso code, President, Home address

 

- We are focusing on the following columns : Name, Location/region & last login to the portal ( both tables contain Name & region : trying to build a relationship)

-Other columns can be ignored.

 

Desired outcome:

  • Extract the confrences that have not been active within the 31 days.
    • Table no.1 : Contains the active confrence in 31 days
    • Table no.2 : Contains all Confrences in the whole country 
  • Highlight/colour code the confrences not interacting( Ones not on the Confrence with active login to the portal in last 31 days by association table) on the map to easily identify the confrences that are not interacting with the portal. ( By region/Area)

 

I have hit a brick wall and here are some of the things I have tried :

  • I have created a "hierarchy" that can drill down from Region > area 
    • My desired hierarchy was Region > area > confrences, but filled map is very limited in functionality and the confrences cannont be mapped accurately ( no long/latitude details or geo-location)

 

  • INTERSECT the records to retrieve the confrences not included on the table : My knowledge of writing queries within PowerBi is very limited but I understand alot of the Syntax 

 

This is my Logic:

If confrence name[ From home visitation ] has login from this table [ Confrences with active login in last 31 days] : Green

If confrence name[ From home visitation ] has no last login from portal [ Confrences with active login in last 31 days] : Red

 

Specific confrences would be difficult to highlight, I can colour code based off regions also.

 

Apologies if this is confusing, this is my first post.

And I hope I can get some insights into where Im going wrong or maybe my logic is wrong.

 

Thank you in advance , I appreciate any help🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

UPDATE **

 

I was able to view all the confrences not logging in/Interacting with the portal:

I used the following code : 

CNLI = EXCEPT(SUMMARIZE('Home Visitation conferences','Home Visitation conferences'[Name]),SUMMARIZE(CWALP31BA,CWALP31BA[Name]))
 
Now I need to map out the list I have extracted to the filled map for each region.
 
Here is a link to all the files im using: 
 
Any other suggestions would be much appreciated.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

UPDATE **

 

I was able to view all the confrences not logging in/Interacting with the portal:

I used the following code : 

CNLI = EXCEPT(SUMMARIZE('Home Visitation conferences','Home Visitation conferences'[Name]),SUMMARIZE(CWALP31BA,CWALP31BA[Name]))
 
Now I need to map out the list I have extracted to the filled map for each region.
 
Here is a link to all the files im using: 
 
Any other suggestions would be much appreciated.
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

Can you provide some sample data or simple pbix files? Sensitive information can be removed in advance.

 

Best Regards,

Community Support Team _Charlotte

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.