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
Redbullet
New Member

Power bi questions

Hello all, I really could use your help . i have this project that i have to deliver on saturday and i have some questions left on the app, please note that i am new to it. Firstly, there was "Categ.codecateg" is this join or combine or concatenate ? knowingly that those columns are numbers and we will be getting their sum afterwards, how to do we combine if we need to sum ? secondly, how can sum be not in the whole column ? just a cell. we need to choose a column to make new measure a specific entry vault/cell for the summarized numbers. SUM(InvT_GeneralTransactions_1.Qty + InvT_GeneralTransactions_1.Bonus) * - 1 AS Qty, SUM(InvT_GeneralTransactions_1.Sell - InvT_GeneralTransactions_1.VouDiscount) * - 1 AS NetSellVal, SUM(InvT_GeneralTransactions_1.Cost) *-1 as TotCost thirdly, how do we make inner join if the question was fourthly , what does this mean ? FROM dbo.InvT_GeneralTransactions(1,0,99999,'0', 'zzzzzzzzzzzzzzzzz', '2022-01-01', '2022-01-31', 4, 'sys') AS InvT_GeneralTransactions_1) how is it done ? dbo isn't a given column, others are INNER JOIN InvItemsMF ON InvT_GeneralTransactions_1.CompNo = InvItemsMF.CompNo AND InvT_GeneralTransactions_1.ItemNo = InvItemsMF.ItemNo INNER JOIN InvCategCodes ON InvItemsMF.CompNo = InvCategCodes.CompNo AND InvItemsMF.Categ = InvCategCodes.Categ inner join InvStoresMF on InvT_GeneralTransactions_1.CompNo =InvStoresMF.CompNo and InvT_GeneralTransactions_1.StoreNo = InvStoresMF.StoreNo WHERE (InvT_GeneralTransactions_1.CompNo = 1) AND (InvT_GeneralTransactions_1.VouType IN (2, 9)) GROUP BY InvItemsMF.Itemno, ItemDesc ,InvCategCodes.Categ, InvCategCodes.CategName,InvT_GeneralTransactions_1.StoreNo,InvStoresMF.StoreName i would really appreciate if everyone who can, helps asap, please. @Wiz #powerbi #join @power.bi

1 REPLY 1
Greg_Deckler
Super User
Super User

@Redbullet That looks like SQL to me? The notation is table.column so the table name and then the column name.

 

Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.