User Profile
Juan_Quikin5
Frequent Visitor
Joined 4 years ago
User Widgets
Contributions
Re: Calculated column customer bought that product for the first time
It didn't work out for me, all values in the column were 1. However, you gave me a great idea! I created a table with the "groupby" part of your formula. Then, formatted the "mindate" column to have the same format as the sales table and added a column with value 1. And finally, I used the "lookupvalue" function to "merge" those two tables and it worked! Thanks ichavarria !1.4KViews0likes1CommentCalculated column customer bought that product for the first time
Hey guys, I have a calendar table and a table with four columns: date, customer_id, product_id, and sales_amount. I would like a calculated column showing 1 if that customer buys that product for the first time and 0 otherwise. Any idea? Thanks guys!Solved1.5KViews0likes3CommentsDecimal formats varying in table and card visuals
Hi guys! I have the regional settings of my current file in "English (United States)." However, the auto-display units in my visual card are not matching the format of the following measure for a table visual: SellOut = VAR calc = [MGMV] var decimals = "0.0" RETURN SWITCH ( TRUE() , calc > 1000000 , FORMAT ( calc / 1000000 , "$" & decimals & "M" ) , calc > 1000 , FORMAT ( calc / 1000 , "$" & decimals & "K" ) , FORMAT ( calc , "$" & decimals ) ) The card takes a comma as a decimal separator while the table takes a dot as a decimal separator. I tried changing the "VAR decimals" part to "0,0", but this format is adding a zero to left whenever the value has just one digit (e.g. $06K) Any idea would be very appreciated! Thanks guys!793Views0likes2CommentsCalculating row subtotals differently
Hi guys I have the following matrix with three measures. Mi INVESTMENT measure is defined as: INVESTMENT = VAR RES = [Sell Out] * [% INV] VAR RESULT = IF (HASONEFILTER ( Table[Company] ), IF ( [% INV] > 0, RES, BLANK () ), SUMX ( FILTER ( Table, [% INV] > 0 ), RES ) ) RETURN RESULT However my desired subtotal is just the sum of the investment values of each company: 11,5 + 18,6 + 14,3. Any idea would be very appreciated!Solved870Views0likes1CommentCount the number of campaigns on a date based on start and end dates
Hey guys! I hope you can help me with some issues. I have a table of active advertising campaigns with three columns: start date, end date, and de campaign ID. I also have a date table. But these two tables have no relationship in the model. What I would like is to count the number of active campaigns on a certain date. StartDate EndDate CampaignID 14/12/2022 30/12/2022 TRC-1 22/12/2022 13/01/2023 TRC-2 In this example, the number of active campaigns on 20/12/2022 is 2 and on 04/01/2023 is 1. Any help would be very appreciated!Solved1KViews0likes1CommentReport fast in one workspace and slow in other one
Hi, I work at a company that has several workspaces. I have a report initially published in one workspace and it ran very fast. However when I publish the same exact report in other workspace it runs slower and takes too long to switch between pages. Any help would be very appreciated!!487Views0likes1Comment
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.