@tables
6 TopicsCan you use a tooltip in a table to display description
Is there a way to show additional data in a table for one field IF the field has conditional formatting to display a YES or NO? In the screenshot below, the Go to Green plan would have either a Yes or No displayed. The Yes, when clicked on or hovered over would display data pertaining to that project. Is this possible through tooltips? Table with Yes/No When Yes is selected or hover over, it would display the detail for that project.Fix Relationship for Distinct Count column and row values
I have a visual that uses a default Dataverse Direct query relationship. There a three departments from the related table as shown in department slicer. The main visual does show unique counts of the department of the related table, but the value of ONE of the department row (only it has a value of hrs = 4.00) are duplicated across all rows. Also all departments are listed as rows with no record counts. I need to only show the three Departments in the main visual with counts and total hrs in only the row that has the true total hrs.TABLE VISUAL - NOT SHOWING CORRECT VALUE
Hello Everyone, I'm a newbiew working on a BI report, I want to show/display the header (Questions) as rows. Then categorize it now by 2 columns which is Manufacturer Rate & Supplier Rate. The concern is I use a filter to sort/display the result below by using the respondent category and supplier name. If this question was raise before and resolved please help me redirect to that same question. Appriciate any support provided. Sample I will use the following filter; Respondent = Manufacturer, Supplier = ABC Enterprise. The expected output should be like, on Question | Manufacturer Rate | Supplier Rate PPM's L12M | 6 | 7 Data Source Below: Respondent Category PPMs L12M: PPMs L12M Remarks: PPMs L3M: PPMs L3M Remarks: Sub-Tier Supplier Management: Sub-Tier Supplier Management Remarks: Manufacturer 6 TEST ONLY 9 TEST ONLY 1 TEST ONLY Supplier 7 TEST ONLY 7 TEST ONLY 2 TEST ONLY EXPECTED OUPUT: Questions: Manufacturer Rate Supplier Rate PPMs L12M 6 7 PPMs L3M 9 7 Sub Tier 7 2Solved1.8KViews0likes4CommentsHow to create a dynamic table? I got the error that column was not found in the input table :(
Hello experts! I have a table of Usage Logs and another table of Organization Info. I want to create a new dynamic table combining user_id and organization and also organization type. Because some user_id can be logged into different organizations, I need a table which will assign only one organization and organizational type to the user. Please see my table example as following: The usage logs is like the following: User_Id Organization Event 111 A Page Views 111 B Page Views 113 C ... The Organization Info is like the following: Organization Organization Type A Internal company B External company C External company The result I want to get is the following: (The logic is if a same user_id is logged in Organization A and Organization B, it will only count as a a user for the internal company and not external company.) User_Id Organization Organization Type 111 A Internal company 113 C External company Could some one help me to create a dynamic table? I tried the following but it doesn't work . The error message said the column 'Organization Type' specified in the 'Summazize' function was not found in the input table. Thanks a lot and I appreciate your help! DynamicTable = VAR UserTypes = SUMMARIZE('usage logs', 'usage logs'[user_Id], 'organization info'[Organization Type]) RETURN SUMMARIZE( UserTypes, 'usage logs'[user_Id], "Organization Type", SWITCH( TRUE(), CONTAINSSTRING(UserTypes, "Internal company") && CONTAINSSTRING(UserTypes, "External company"), "Internal company" BLANK() ) )670Views1like1CommentNot giving the correct average while calculating the Mean Absolute Percentage Error in DAX
I am analysing a forecast and a station data. During the night, I am getting negative values on the station, and zero values on the forecast data. And there are some days I am missing some data. Keeping that in mind, I am trying to calculate the Mean Absolute Percentage Error (MAPE) in DAX within Power BI to compare my forecast values to my station data. If there is a value equal or less than a 0, or there is not any value, then do nothing. However, I am not getting the correct average for my MAPE. Here's how I am currently calculating it: MAPE = VAR Actual = AVERAGE(STATION_TABLE[GHI]) VAR Forecast = AVERAGE(FORECAST_TABLE[GHI]) VAR AbsoluteError = ABS(Actual - Forecast) RETURN IF( OR(Actual <= 0, Forecast <= 0), BLANK(), DIVIDE(AbsoluteError, Actual) ) I am then averaging the MAPE for all of my data points using the following measure: MAPE_Average = AVERAGE([MAPE]) I made a table with the date, hour, station data, the forecast data and the MAPE result to compare the result. The MAPE is correct until it calculate the average. DATE HOUR STATION_DATA FORECAST_DATA MAPE 01/01/2023 00:00 - - - 01/01/2023 01:00 - - - 01/01/2023 02:00 - - - . . . . . . . . . . . . . . . 05/01/2023 10:00 - 45 - 05/01/2023 11:00 - 78 - 05/01/2023 12:00 - 100 - . . . . . . . . . . . . . . . 07/01/2023 10:00 - 45 - 07/01/2023 11:00 - 78 - 07/01/2023 12:00 - 100 - . . . . . . . . . . . . . . . 08/01/2023 13:00 -5.0 45 - 08/01/2023 14:00 -4.6 78 - 08/01/2023 15:00 -5.1 100 - . . . . . . . . . . . . . . . 09/01/2023 12:00 45 49 8.89% 09/01/2023 13:00 56 51 8.93% 09/01/2023 14:00 105 120 14.29% TOTAL 300 309 3.0% However, when I compare this value to the MAPE total calculated using other tools (such as Excel), I am getting a different average. The average on the table is the value MAPE result of the **TOTAL AVE** values at the end of the table. So, I am not getting the average of the whole column. And the measurement, which I did in apart, is giving another result which is not the same in Excel and neither the table. Can anyone help me identify what I might be doing wrong, or suggest an alternative approach for calculating the MAPE in DAX? Thanks in advance for your help!Solved3KViews0likes4CommentsOne store with two possible IDs, how do I relate the fact table and dimension table?
Hello fellow users! I've run into a small issue when dealing with my fact and dimension tables. In our franchise, we have two iFood stores for some of our operations (not all of them) for marketing reasons... The problem is that, for instance, I can't relate ID 85 to Store2, for instance. Below is an example of how my fact table looks: And here is an example of my dimension table: As you can see, some of the stores don't have a second ID. Any ideas on how I could relate these informations?Solved706Views0likes2Comments