group
15 TopicsPBI Report Server doesn't render correct font for groups that toggle hidden fields
In paginated reports where I added groups that can be used to toggle hidden fields, the font and fontcolor of those groups is not displayed correctly. I use a XML dataset which holds the fonts and colors I want to use in my reports. When I preview the report in Visual Studio, Report Builder or SharePoint everything looks fine, but when I deploy it to SSRS PowerBI I see a font that looks like Times New Roman instead of Segoe UI that it's supposed to show. The fontcolor is black, while it should be red. It does show the correct backgroundcolor. When I do not use the dataset to render the font and just add Segoe UI in the textbox properties everything works fine. Is this a bug or am I missing something?5.4KViews0likes8CommentsDAX Measure - Group Total in each customer number row
Hi, I have a seemingly simple question, however, I just can't seem to get it right. My question is the following: I have customers divided into CSAC3 groups. So a customer belongs to a specific CSAC3 group. I have also created a measure that calculates the turnover TY. However, I now want to have a measure that adds up the turnover of the CSAC03 group and displays it behind the relevant customer number with the associated CSAC03 group. What I keep getting now is that it filters this turnover by customer number each time anyway. Ultimately, I want to calculate further using this turnover per CSAC03 group. But I can't get this to work. Below is an image of the table with columns Customer number, CSAC03 and Turnover MAP TY. This is on a customer number basis. Now I actually want another column next to it with Turnover MAP TY (CSAC03). So all the customer numbers with CSAC03 ‘4PLUS’ should include the total of this CSAC03 group. Furthermore, the code of the measure, perhaps this also has something to do with it. The tables are connected by means of customer keys/customer numbers. If anyone can help, please do, thank you!Solved683Views0likes4CommentsGrouping dates into fortnights
Hi everyone, I'm looking for a solution that will help in grouping dates into fortnights, irregardless of month or year. I'll attach an image to help understand what I am meaning. It wouldn't matter if the column started at calendar start or a specific date. The date table I have is just an invoked funtion in M. Hopefully someone can help, I'm not sure what other information I could provide that would be helpful here.Solved4.2KViews0likes2CommentsDax for overall average of last value in every groups
Hi Guys, I have the following data and I need to display the Average Value of items using only the most recent input for each item and grouped by sortOrder. Date ItemID SortOrder Value 8/1/2020 403 5 1.77 8/1/2020 403 1 1.77 8/1/2020 429 2 6.1 8/1/2020 429 3 11.03 7/1/2020 220 4 34.23 7/1/2020 403 1 1.60 7/1/2020 415 4 7.87 7/1/2020 429 2 4.97 7/1/2020 429 3 33.03 7/1/2020 123 2 18.17 7/1/2020 123 3 27 7/1/2020 123 4 50.03 Expected Results: I am able to get the count of items with Count ItemID (Distinct) Sort Order Average of Value Number Of Items 1 1.77 1 2 12.135 2 3 19.015 2 4 30.71 3 5 1.77 1 Please let me know if more information is needed, I am really stumped. I can create a measure that will return the last value for each group, but then how do i get that measure to average by Sort OrderSolved586Views0likes2CommentsTo group a numeric column containing the difference between 2 dates into same_day, day+1, >1 day
i want to convert a numeric column containing difference between 2 dates like (0,1,2,3..... so on) into 3 groups --> same_day, d+1 and >1 day How to convert the numeric column and categorize them into 3 groups? days between (difference b/w 2 dates)| ---> | 3 categories 0 same day 1 D+1 day 2 >1 day 3 >1 day .... 6 >1 daySolved860Views0likes2CommentsSUM grand total per category
Hello everyone! I am new to Dax and am guessing the solution is right under my nose, but I've exhausted my limited knowledge and need some guidance. I have category (location) and subcategory (centers). A location can have more than one center. My dimension table Unidades uses the subcategory as primary key, since they aren't duplicate. There's also a fact table containing the amount of extra hours (R$) per location (category). When I put the information on a visual it repeats the corresponding overtime for every center according to its location. That's OK. My problem is that I need to add up the grand total of overtime hours, but my measure is adding the overtime for each center and not the location, wich means it adds duplicate values. How do I get the correct sum? Thank you in advance.Solved1.3KViews0likes2CommentsSpecific transformation on table
Hi Everyone, as you can see below, I have data in the format in the "Initial Table" that I'd like to transform to the ones in the "Transformed Table". Specifically, I'd like to group my data by order number but the resulting value should be a string in this format <Quantity><Product>-<Quantity><Product>-...-<Quantity><Product> But first sorted by Product. Is there a way to perform this in PowerBi in Power Query, please?Solved758Views0likes2CommentsGet the Quantity by the Earliest Date
Hello, I am trying to get the most recent quantity by production week, by Plant (Where it is produced) and by SKU (Item No) depending on the earliest date (version date). Can someone help me with this. I do not mind if it is done in DAX or Power Query. Below is my data view. I have tried groups but when I try to get the quantity it sums all the values up. I dont want that I want what ever was the quantity by the earliest plan version by item. ========================================================== Example of what I want: If I were to sum the quantity of production week of 9/25/2022 I would get like 900,000 (LBS) because it sums it all. I want to get the last value depending on the earliest or closest date of that production week for that Item and plant level. Let me know if I need to clarify anything. Below is an example of why the equal dates do not work:Solved1.5KViews0likes2Comments