model
9 TopicsServer dails to refresh "Qe cannot convert the value "[Binary]" to type Binary" No binary value
I am getting to types of errors which are probably related. For context, the dashboard is a large and complex model with over 20 queries and 15 data sources, pulling from Azure, Shaerpoint and other sources. First, on the desktop, I can only refresh the data when I open the Power Query editor, refresh the data sources and then close it. Then I can refesh the data with no problems. Otherwise, one of the query dependencies will fail. Second, once I do the Power Query editor part and I upload, I always get this error but in different queries: Data source error: Expression.Error: We cannot convert the value "[Binary]" to type Binary.. . The exception was raised by the IDbCommand interface. Table: XXXXX. The Table will change on each iteration. None of the tables have binary values.Solved773Views0likes2CommentsCreate a copy of a pbix model in a dedicated SSAS server
Hello everyone. I have a pbix that I want to use as a reference for multiple other and multiple user. So after some research, I found how to import the model to SSAS in a local host server. But it only works locally and only while the original pbix is open. I tried using CREATE TO, but the generated script doesn't work, duplicate/backup doesn't either and return a "no disk" error. Do you have a way to create a permanent copy of the model in a dedicated server ?Solved538Views0likes1CommentMatrix Table - keeps on repeating
Hi! Would appreciate insights on where my model is going wrong. I have these tables: (1) Base headcount of employees w/c I am planning to use as dimension (2) Data that would be used for the measures - this table has a person identifier that could be linked to table 1 (3) Dimension table for Region, Business Unit and Country Basically, the stakeholder would want a visual and table that shows how many employees meets the metrics and how many are not. So the table 1 have a mapping of region and business unit per employee w/c was then connected to table 3. Now, the issue is the matrix table. Since they would want as well the list of workers that does not have data in table 2, I have added +0 at the latter part of the DAX that simply count the rows, sum some data, etc. What happens is that, if I visualize it as a table: Region - Business Unit - Worker, the worker appears to ALL regions and BUs w/c should not be the case. Any insights on where did I went wrong? Any help would be appreciated 🙂Solved1.1KViews0likes3CommentsConnect two datasets and retrieve last value
Hello everyone, I'm doing a dashboard for my investments and I have some doubts on how to relate two tables. One has all the movements I have done in my online broker and the other has 3 columns (Date, Ticker, close_price) TABLE_1: Date Type_ID Type Movement Product Cost Quantity Amount 24/03/2020 1 Expenditure Purchase IWDA 43.09 1 43.09 24/03/2020 1 Expenditure Comission IWDA 2 1 2 19/04/2020 1 Expenditure Purchase EMIM 22.06 2 43.12 etc... TABLE_2: Date Ticker close_price 15/02/2020 IWDA 74.41 15/02/2020 EMIM 31.38 14/02/2020 IWDA 74.55 14/02/2020 EMIM 31.5 etc... I want to create a relationship, so I can get the latest close_price for each ticker. Is a M:M relation a problem? The final goal is to see the variation in value in each date for each ticker.Solved859Views0likes4CommentsCount customers per Business Unit in a Subscription based model
Trying to solve a measure for a subscription based business. The measure should calculate number of customers per month. I work with a dataset that stores all the changes on the subscription. I can therefore have man rows per subscription. The measure works fine except when a subscription is moved between Business units. The customer then counts on both buinsess units instead of just the correct one. The measure also counts correct when looking at the whole business. I tried adding All(Business units) in both MaxPricedates and Results without effect. Measure: Number customers = VAR MaxDate = MAX ( Date[Date] ) VAR FromDate = ENDOFMONTH(Date[Date]) VAR EndDate = ENDOFMONTH('Subscriptions'[ActualDate]) VAR EndOfLifeDate = STARTOFMONTH(Date[Date]) VAR MaxPrisDates = CALCULATETABLE ( ADDCOLUMNS ( SUMMARIZE ('Subscriptions','Subscriptions'[SubscriptionID]), "@MaxBalanceDate", CALCULATE (Max('Subscriptions'[ActualDate])) ), Date[Date] <= MaxDate ) VAR MaxPrisDatesWithLineage = TREATAS ( MaxPrisDates, 'Subscriptions'[SubscriptionID], Date[Date]) VAR Result = CALCULATE( DISTINCTCOUNT( 'Subscriptions'[AccountID]), MaxPrisDatesWithLineage, 'Subscriptions'[Start date] <= FromDate, 'Subscriptions'[End date] >= EndOfLifeDate, 'Subscriptions'[Status] <> "Other", 'Subscriptions'[Status] <> "Stopped" ) RETURN Result Grateful for assistansSolved854Views0likes2CommentsBypass an explicit filter to have a global total
Hi, I have a view where I show a total of spendings per month. Then I divide this total in four categories in the purpose of separate spendings less than, equal to (not remarquable), without comparision with or greater than the previous month. My objective is to show uniquely the values where the variation to the previous month is greater than 1% of the total of the current month. For instance, the first line of the category (Inferiores mas de 10% al mes anterior) is correct because the variation is greater than the total (30 970 000 / 100 = 309 700) but the fourth one is not supposed to appear. ((616 000 - 501 000) < 309 700) My measure for the total global is this : Mes actual general = CALCULATE([Mes actual], ALLSELECTED('Facturas Proveedores')) My issue is that when I use my measure "Total mes actual" which is supposed to be global, I have the total of the filtered category. I know that it is the normal behaviour of ALLSELECTED because we cannot remove the explicit filters however I would like to find a way to get this global value, either with DAX or modeling or any proposition you can make. Thanks !Solved1.4KViews0likes2CommentsNeed Dax Help Please!
Hi Guys, I have a table with a task code column and a count column. Im trying to add a calculated column to give me the desired result below. I need tasks 51E and 51F to be added together but the others just what they are. Desired Result: Task Code Count Desired Calculated Column 6A 42 42 7B 24 24 51D 20 20 51E 60 100 51F 40 100 Thanks!678Views0likes1Comment