tip & tricks
15 TopicsHow to Show Delta Between TODAY() and Modified Date formatted as Days in Dax
Hi Friends, I have requirement to how Delta Between TODAY() and Modified Date formatted as Days in the Card in the report. And i want a slicer to select below as Input Number of Days Since Modified” as a drop-down selection that buckets day thresholds as follows: < 30 Days > 30 Days and < 60 Days > 60 Days and < 90 Days > 90 Days Can you please help me how to create dax measures or columns.Solved1.1KViews0likes3CommentsMy Power BI Report builder is Not validating DAX Parameters in the Dataset
Hi Folks I have Power BI Paginated report which is Working fine. It have ssas as source. There is No of Pages of DAX Code which have spaces and tabs. I have trimmed spaces and tabs to fit into Report dataset Queypane. Now i am facing strang error The query contains the 'M' parameter, which is not declared. The M is First Parameter in the DAX. I have other 8 Paramerters. I have changed paramters and conditions into separate line and removed spaces and tabs. Still unable figure out what is the cause. The same code is working fine DAX Studio with Paramters. Can you please help how to do that if i am missing anything. Can you please help any other proper website which remove spaces and tabs. The old report also have same parameters its working fine. New changed code is getting this error. Regards741Views0likes1CommentHow to calculate Last Year Sellout on 4-4-5 calendar?
I am currently in 4-4-5 calendar and need to calculate Last Year's Sellout. I have been able to calculate the weekly last year sellout, however I need the daily value. This is the current formular I got: "Sell Out LY = VAR __Last445Week = SELECTEDVALUE ( 'Date'[Year (4-4-5)] ) - 1 & MID ( SELECTEDVALUE ( 'Date'[Week (4-4-5)] ), 5, 4 ) VAR __Result = CALCULATE ( [Sell Out CY], FILTER ( ALL ( 'Date' ), 'Date'[Week (4-4-5)] = __Last445Week ) ) RETURN __Result" And I get the following result: Any help on how to split from weekly Last Year sellout to Daily Last Year sellout 4-4-5, is highly appreciated.635Views0likes1CommentVisual to display Images with fast rendering time (<2 secs)
Hello there, actually I am struggling on this, but do not get a satisfying result. Perhaps there are some best-practice ideas on how to handle.... We have developed some reports to be shown on a dashboard Why a dashboard? Highly flexible in adding/removing topics and beyond-workspace use of published reports The overall dashboard contains 19 (self produced images), dashboards underneath between 1 and 4 of these pictures User should be guided by small images representing the topic (png / svg format) and to increase the recognition value. All images are stored in a Sharepoint-Folder Power BI Desktop Version is September 2022 Issue is on the following: loading pictures from Sharepoint to Dashboard-Tiles works fine, but security settings need to be fixed (no right on the sharepoint folder = no picture displayed) Integrating pictures in PBI not possible for SVG-images (Format not listed in File Dialog) Integrating picture s in PNG-Format requires base64 conversion but faces limit-issue in leght of resulting string (some pics >32766 characters) Which visual should be used to display images? Either not certified (Simple Image) , blocked by IT-Admin. Image Pro w. multiple Image ~ 200 € p.a. abonnement, no experience/idea of rendering-speed. Actually I am 'abusing' the Charticulator Visual to display a picture (SVG-Picture, Charticulator can, PBI cannot), but the rendering time is extreeeemly slow while rendering all the 19 images to the dashboard. Solution works for only a few images, but not for 19. On top we face different results on different Browser or within Teams which makes the above mentioned concept unstable, but this will be adressed to the IT-Admin. Do you know a fast and low price / no price but ntl. recommendable visual to use for this? Thanks to everyone giving a hint. Have a nice weekend. ThomasSolvedCalculated Column to Check if Field CONTAINS Value From Another Table Column
Hi all, I am trying to create a calculated column to check if a column contains value from mapping table column, if not, then to check another column whether it contains value from mapping table column. Let me explain better: I have 2 tables: Table1 is the main table containing lots of records and columns about transactions Table2 is used for mapping, contains more detailed information about products (pieces) So, I would like to create a calculated column in 'Table1' to check (in this order): IF 'Table1'[Piece] Contains any value from 'Table2'[Piece], then return the value from 'Table2'[Piece] If this criteria is not met, then I would like to check the same rules from the Title: IF 'Table1'[Title] Contains any value from 'Table2'[Piece], then return the value from 'Table2'[Piece] If neither one is met, I would like to return 'Table1'[Piece], even if its left blank. Here is still the desired output: Then I would like to create a relationship between the created column and 'Table2'[Piece], to get more detailed information about the products. Any tips from anyone? If there are more information needed, please don't hesitate to ask.Solved3.1KViews0likes2CommentsSum after a date
Hi, I'm trying to make a sum if formula (this is how I would solve it in Excel) or something similair in powerbi. I couldnt find a formula for or something else for this. See the picture below for more clarity. I have the spend per vendor per month in a different table. With this data I want to sum the the spend after the enddate per vendor. So something like IF[spend booked after enddate] = 'yes', Sum(spend per vendor month) after enddate. I can't get this working. Hope someone can help, Thanks in advance!778Views0likes2CommentsHelp with if Function in DAX
Hi all, I am trying to show number of actions needed for my team. The idea is to create a DAX (or custom column if needed) to show number of items where some actions are needed. Data table illustrated as below: Here are the rules: Main rule is: Only from items where Status = "Open" or "Cancelled" or "Pending" Additionally: Information Request Status = "Waiting" Group = "Sales" So based on the table below, the measure should show 3 actions needed: (On 1st row no action needed, because "Status" does not match the main rule) Any tips for the issue? If more information is needed, don't hesitate to ask. Br Jere AallikkoSolved1.4KViews0likes5CommentsSame ID with different reference , if one of them are false then all false
Hello, I trie to display data who have same IdRetour but different reference , the reference Guaranty is false or true, i want to the same IdGroup if one of the reference of the IdRetour then all become False. expected : IdRetour Reference PriseEnGarantie 107 8716774182 False 107 87167728690 False 107 8716774182 False I'am in Direct Query , someone can show me the path to the solution please ? Thank you582Views0likes1CommentLast Date for one client meeting in a table with duplicate data
Hello, I want to know if there is a formula who can do what i want. Get the last date of meeting for the same client ? like my exemple i want to have just the last date in my table : thank you for the futur answer. Great day1.1KViews0likes3Comments