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
THENNA_41
Post Partisan
Post Partisan

How to get summarize value from different table

I have three different sheet like  Actuals, M1Data ,M3 Data.

 

actuals data be like 

 

Market  cat .des   version  Month  SPDCODE   Actuals 

ITG5         4             MK         JAN        001            500

ITG6         4             MK         JAN        001            700

ITG7         4             MK         FAN        001            800

AT04         4             MK        MAY        001            500

 

M1 data like 

 

Market     M1

ITG6       6346 

 

 

M3 data like 

 

Market     M3

AT04       5444 

 

I Want final data  would be like 

 

Market  cat .des   version  Month  SPDCODE   Actuals     M1     M3 

ITG5         4             MK         JAN        001            500       0     0

ITG6         4             MK         JAN        001            700    6346   0

ITG7         4             MK         FAN        001            800       0     0

AT04         4             MK        MAY        001           500       0   5444. 

 

any  dax fucntion to achieve this ? 

5 REPLIES 5
Anonymous
Not applicable

Why don't you do this in PQ? PQ is the data preparation tool for PBI. DAX is not. And it's dead easy in PQ in comparison.

Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @THENNA_41 ,

 

You can do this by creating Lookup columns in the Actuals table:
M1 = LOOKUPVALUE(M1(M1), M1(Market), Actuals(Market))
M3=  LOOKUPVALUE(M3(M3), M3(Market), Actuals(Market))

its not working .  i have three tables i want look up mulitple table value 

Anonymous
Not applicable

In Power Query you don't look up things. You create joins between tables on any fields you want and then grab from them anything you want. That's the long and short of it.

@THENNA_41 ,
Like @Anonymous suggested.... Do this in Power query... by Merging the tables.

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.