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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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