data modeling
514 TopicsDataSource.Error: Microsoft SQL: A connection was successfully established with the server, but then
hi all, since this morning i suddenly have this message "DataSource.Error: Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)". Am using a SQL db connection and use a Microsoft account to logon. Unfortunately, the connection refuses to work ( Message=A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) Number=-2146893019 Class=20) Hope you can help me out thanks MSolved101KViews1like4CommentsConverting Binary to hex value or numeric value
Hi, I have Hex Value showing up as a Binary content in PBI desktop (ConversationIndex in MSExchange Attribute object) On expanding this Binary column, I get to see some Unicode characters and not exactly numeric/ hexadecimal values. Is there a way I can convert the Binary content to Hex or interger/ numeric value? Thanks, MannuSolved14KViews0likes7CommentsHow to add previous row value with current one and then keep getting the summation
HI below is the table as input in power bi and below that is the output i would require in power bi. Please let me know how is it possible in calculated column or Measure. its basically addition of previous row with current row please see the example below: Input: Date Value 22march 2017 3 23march 2017 3 24march 2017 2 25march 2017 11 01 January 2018 5 Output: Date Value Final Value 22march 2017 3 3 23march 2017 3 6 24march 2017 2 8 25march 2017 11 19 01 January 2018 5 24 I would require the Final value to be calculated. Please let me know the steps or formulae required. thanks, AnkkuSolved46KViews0likes12Commentsincremental refresh - not available, parameters not showing in custom date filter
Hi, I'm trying out the new incremental refresh feature on a SSAS import datasource, but it's not available. I Created the parameters RangeStart and RangeEnd, but when I try use them on the date column in the dataset, for custom filtering, they're not showing. I am a premium user, I have updated to may build and I have activated the incremental refresh in options.Solved36KViews2likes20CommentsDynamic measure formatting (preview) not displaying stacked bar chart totals in correct format
Problem: Stacked bar charts dont display totals in the correct format when using the new preview feature dynamic formatting for measures. See the image below In this example the measure is dynamically formatted to display as a percentage, which it does on the individual segments of the bar. But on the totals in the tooltips it always shows a different format (possibly the original format), and when enabling the column totals it shows a combination of formats as seen at the top of each bar. Measure: Test Measure = COUNTROWS('My Table') Format: "0.0%;-0.0%;0.0%" Please could you help with identifying the issue? I cant turn on column totals on this visual as it is. Thanks1.8KViews1like5CommentsHow to calculate 12month rolling average
How to calculate 12month rolling average data - I have date table with date, month column (yyyy-mm) -I have a main table with the data of ID, hiredate, sepdate, empname -I need to calculate rolling average of my actual headcount (12months period) and so on1.8KViews0likes9CommentsQuery Parameters Not Bound - Oracle Database
I have a report that is running a query against an Oracle Database. The query has a few filters that are often changed, so in other environments those are stored as variables. As I understand it from my research, Power BI does not accept the use of the "DECLARE" statement for Oracle Databases. After watching this video from Guy in a Cube, https://www.youtube.com/watch?v=iiNDq2VrZPY, I tried doing the same thing the video does at the beginning (Using a Power BI Query Parameter, can be found around 2 minutes) however I get the error that the variable is not bound. The only difference I can see between what I am doing and what Patrick is doing is that he is querying a MySQL database and I am querying an Oracle database. Does Power BI not support the same use of parameters for both?Solved11KViews0likes7CommentsDynamic Inventory Reconciliation: Aligning Opening and Closing Balances in Power BI
I have created an Inventory Reconciliation report that includes a Year slicer. The report's main visual is a matrix with the following rows: Opening Inventory Purchases Sales Closing Inventory (Calculated) On-Hand Quantity The Closing Inventory (Calculated) is determined using this formula: Closing Inventory (Calculated) = Opening Inventory + Purchases - Sales The matrix has Months set on the Columns. For example, if the year 2023 is selected: January’s Opening Inventory is calculated using the following DAX formula: Opening Inventory (Q) = CALCULATE( [On-Hand Qty], PREVIOUSMONTH('Calendar (On-Hand)'[Dates]) ) For February, the Opening Inventory should use January’s Closing Inventory (Calculated) or the previous month's Closing Inventory. Currently, the Opening Inventory row uses its formula to calculate results, which might lead to inconsistencies. I believe the Opening Inventory should instead depend on the Closing Inventory (Calculated) from the previous month. What would be your solution?Solved1.4KViews0likes4CommentsDistinct count from previous month
Hey all, Pretty new to PowerBI which has been implemented in my work - and have my first issue that I can't seem to resolve via ChatGPT! Essentially I have a dataset of employees which have all been given their own assigned ID (for distinct count reasons) What I am trying to do is basically have the total distinct IDs of a month and add it together with the total of distinct IDs from 12 months prior, I.e. April 2024 total + April 2023 total. I am able to get both of these totals separately in my "Totals" column however in a separate column which adds the current month and the month 12 months prior, it is just repeating the same total as the current month. Any advice would be much appreciated and happy to provide details as best I can.Solved1.2KViews0likes2Comments