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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply

Find missing, new and base accs

 

 

R_DateAccSourceF_P
07/01/2022 12:00AM1234C1
07/01/2022 12:00AM1235C2
07/01/2022 12:00AM1233B2
08/01/2022 12:00AM1233B2
08/01/2022 12:00AM1234C2
08/01/2022 12:00AM1235C1

 

I have to find new, missing and existing accs from the above table in three different table visualization.

 

For example, above table has an account 1234 in both july and august. But in July the F_P is 1 which means there is one account. but in august they have 2 so one is added that goes into new activation and 1 is existing. 

 

other example, 1235 in July F_P is 2 which means one account with two different products(phone/tv connection) where as F_P in august is 1 which means the account has deactivated some connection which goes into deact and the other acc goes into existing.

 

Please Help

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @SandhyaGiriraj,

Did you mean to add the missed records with 'false' status? If that is the case, you can try to use crossjoin function to get the list of user and item combos.

Then you can compare current table and cross join table records to create a new table with missed records and raw table records.

CROSSJOIN – DAX Guide - SQLBI

UNION function (DAX) - DAX | Microsoft Learn

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @SandhyaGiriraj,

Did you mean to add the missed records with 'false' status? If that is the case, you can try to use crossjoin function to get the list of user and item combos.

Then you can compare current table and cross join table records to create a new table with missed records and raw table records.

CROSSJOIN – DAX Guide - SQLBI

UNION function (DAX) - DAX | Microsoft Learn

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.