need urgent help
24 TopicsDynamic Slicer – Show Fiscal Year for INR Country and Calendar Year for Others
Hi Experts, I have a requirement to dynamically customize my date slicer based on country selection. Scenario: If the user selects INR (India) as the Country → The slicer should display Fiscal Year (Apr–Mar). If the user selects any other country → The slicer should display Normal Calendar Year (Jan–Dec).Need Urgent Help on SamePeriodLastYear
Dear Pros, Can you please help me to calculate the below? I have the sales data of 2024 & 2025 in the same table. 1. I want to calculate the difference between 2025 month on month data and 2024 month on month. 2. I want to calcuate the % differece between 2025 month on month data and 2024 month on month. I also have the categories and subcategories, I want difference based on these level as well. I want to show the result in a clustered column char ThanksSolved1.4KViews0likes11CommentsNeed Urgent Help to fix this dax measure
Hi Team I need your help to calculate the PD Date using the following logic: For each day: If the total number of containers for that day is more than the allowed capacity, then: PD Date = Max ETA + Clearance Days + 1 If it's within the capacity, then: PD Date = Max ETA + Clearance Days This check should continue daily, and also consider: If the containers left from the previous day plus today’s containers are more than the capacity, then: PD Date = Max ETA + Clearance Days + 1 Otherwise: PD Date = Max ETA + Clearance Days Could you please help me apply this logic and get the correct PD Dates?Solved543Views0likes2CommentsOn Jira find the Timestamp when status changed
I am connecting Jira data with Power BI. I need to find the lifecycle of a issue in each status forexample when issue 123 changes state from status A to status B. I need to calculate the time in number of days like Today()- timestamp when it moved from previous state There is no clear way on it to find the that field. I was thinking if anyone has worked with jira logs how to connect jira logs with the Power Bi because in activity we can see the date. Any help would be a great help Thanks in advance2.3KViews0likes3CommentsRanking by Profit-Difference in Two Months for productCategory Column
Hi I need some assistance with a DAX calculation. I'm trying to rank product-categories based on the Profit difference between two specific months. Here's the approach I've taken: Created Caclulated column 2019-Jan-profit for January 2019 and 2019-Mar-profit for March 2019. Created Calculated column Profit-Difference = 2019-Jan-profit - 2019-Mar-profit. Now When I show CAtegory and Profit-Difference it works well. Next I created Rank column of categories based on the sales difference but number our random. I'm encountering issues with the ranking calculation. The ranking doesn't seem to be accurate, and I suspect there might be an issue with my DAX formulas. Here are the formulas I've used: 2019-Jan-profit = If( [YearMonth] = "2019-01", [Profit] , 0.0) 2019-Mar-profit = If( [YearMonth] = "2019-03", [Profit] , 0.0) Profit-Difference = 2019-Jan-profit - 2019-Mar-profit Rank = RANKX( ALL( [ProductCategory] ) , [Profit-Difference], , DESC) Here is the sample Data YearMonth Category SubCategory Contract Profit 2019-01 Retail Brand A Contract X 5000 2019-01 Wholesale Brand B Contract Y 7000 2019-01 Online Brand C Contract Z 10000 2019-01 Retail Brand A Contract X 8500 2019-01 Wholesale Brand B Contract Y 9200 2019-01 Online Brand C Contract Z 9500 2019-01 Retail Brand A Contract X 9200 2019-01 Wholesale Brand B Contract Y 10500 2019-01 Online Brand C Contract Z 11000 2019-01 Retail Brand A Contract X 9800 2019-01 Wholesale Brand B Contract Y 10500 2019-02 Online Brand C Contract Z 12000 2019-02 Retail Brand A Contract X 7800 2019-02 Wholesale Brand B Contract Y 8500 2019-02 Online Brand C Contract Z 10500 2019-02 Retail Brand A Contract X 9200 2019-02 Wholesale Brand B Contract Y 9700 2019-02 Online Brand C Contract Z 11500 2019-02 Retail Brand A Contract X 9800 2019-02 Wholesale Brand B Contract Y 10500 2019-02 Online Brand C Contract Z 11000 2019-03 Retail Brand A Contract X 8300 2019-03 Wholesale Brand B Contract Y 8900 2019-03 Online Brand C Contract Z 10500 2019-03 Retail Brand A Contract X 9400 2019-03 Wholesale Brand B Contract Y 10000 2019-03 Online Brand C Contract Z 11500 2019-03 Retail Brand A Contract X 9700 2019-03 Wholesale Brand B Contract Y 10500 2019-03 Online Brand C Contract Z 11000 2019-04 Retail Brand A Contract X 8800 2019-04 Wholesale Brand B Contract Y 9200 2019-04 Online Brand C Contract Z 10500 2019-04 Retail Brand A Contract X 9600 2019-04 Wholesale Brand B Contract Y 10200 2019-04 Online Brand C Contract Z 11700 2019-04 Retail Brand A Contract X 9900 2019-04 Wholesale Brand B Contract Y 10800 2019-04 Online Brand C Contract Z 11200 Expected Output : Category 2019-Jan-profit 2019-Mar-profit Profit Difference Rank Wholesale 37200 29400 7800 1 Retail 32500 27400 5100 2 Online 30500 33000 -2500 3Solved937Views0likes4CommentsCount orders with specific conditions
I hope someone may assist me with this... Currently I have a table of projects that can be Won, Lost or No Realized, the column of this os really exisiting, the problem that I have is that the same project can have No Realized and Won Status in different dates, or Not Realized and Lost Status. However, I would like to know how many orders I have with No Realized Status if the project doesn't have status of Won or Lost previously example of the table ----------------------------- Project | Status A | No Realized A. | Won B | No Realized C. | No Realized C. | Lost D. | No Realized D. | Lost E. | No Realized F | No Realized --------------------------- So the result should be: won projects: 1 lost projects: 2 No realized projects: 3Solved1.8KViews0likes10CommentsDoing a rank with a column created in variable
Hi everyone, I need to rank the Sales of the Employees, but I have a table and a new column called Test created as a variable in th DAX. This is to improve the performance. I have tried it without and it is taking too long to load, so this is my only solution. The loading time is no problem anymore but now I dont know how to iterate through the new column Test to get the ranking right. I need to use that column (which is a replication of the column Sales) because the column Sales is based on a lot of measures, which is the reason why it takes so long to load. The query is executing but the rankings come out all as 1. It must be due to the SUMX() that just compares every row with itself. How can I fix this? Your help is gretaly apreciated. Measure = VAR table_ = ADDCOLUMNS ( SUMMARIZE ( 'TableEmployee', 'TableEmployee'[Employee], "Sales", 'TableSales'[Sales] ), "Test", [Sales] ) RETURN RANKX( ALLSELECTED( 'TableEmployee'[Employee] ) , ( SUMX(table_, [Test])),,ASC,Dense)1KViews0likes3CommentsLimit Parameter slicer to be applied to a specific measure in Matrix
Hi Everyone, I have a matrix visual with MTD and YTD values for expenses with location and account lines. I need MTD to be filtered and i want YTD to remain static, to filter the MTD value i have used a parameter and used slicer from it. How can i limit YTD value to not get affected from the slicer. I also have a relation from table A with the parameter table. The measure for YTD value is as below: YTD = VAR n = [EXPENSES] VAR d = year(today()) RETURN CALCULATE( n, ALLEXCEPT('Table A', 'Table A'[Date].[Year]), 'Table A'[Date].[Year] = d ) Measure for MTD: MTD-PARAM = CALCULATE( [EXPENSES], 'Table A'[Month NO] = SELECTEDVALUE('Parameter Table'[Month NO]) && YEAR('Table A'[Date]) = YEAR(TODAY()) ) Thanks For the help.Solved890Views0likes3CommentsDefault Sorting implementation: custom visual
Hello Developers! I hope you all are doing well. The issue iam facing right now is adding sorting options in my custom visual. My X and Y axis are categorical axis but when i use the default sorting method by following: https://learn.microsoft.com/en-us/power-bi/developer/visuals/sort-options , sorting option is available for only the x axis and measure. However, I want the sorting option for Y axis as well. How can i achive this? I have just used "sorting": {"default": {} } in my capabilities. Thank You in advance! Regards, AakashColumns With Multiple Data Types in Power BI
Hello, Currently within my dataset there is a column that contains numerical, text, percentage and currency data types. Is it possible to show them in the same datatype while we select? The table when loaded it saves it by default as text which is understandable. For example: Value 89 150 103 150 $ 1,548,550.45 $ 2,909,454.99 Phase 0 Phase 0 Phase 0 Phase 0 94% 101% 95% 99% Excel and Power BI difference. Thanks for hellping in Advance Ayush585Views0likes1Comment