table
100 TopicsReactive fact table when i clicked the bar of chart, made of 3 different dates.
Hi, experts. I tried and searched, but I can find the solution. I have fact table, it shows items about project. Like id, title, teamname, assigned to, startdate, enddate, ceated, status... And 2 charters, one is clutered column, another is line with clustered column chart. Slicer settled with date of calendar table. And calendar table [date] got a relationship with created date of origin table. Activated Start date, end date are got a relationship with calendar date, too, but not activated. Made some measures for count of items of each dates( created, start, end ) Charter has those 3 measures. The table basically shows items(records:id,title,status...) based on created date and the chart shows count of created, start, end date items on bar If I clicked the one of three bars on chart, then I want to show items on table that I clicked. How can I make it? Best regards.Solved1.4KViews0likes10CommentsPower BI table dynamically expand JSON
I am in need of a Table custom visual that dynamically expands JSON content. For example for an input like this { "Column 1": "Value 1", "Column 2": "Value 2", ... } The table will expand this to two columns and display the values underneath This has to be dynamic, and allowing all the normal table features: sorting, conditional highlighting, ...101KViews0likes0CommentsUnable to Export table data from PBI Dashboard
Hey guys, In PBI Desktop I'm able to export my table to csv or excel. But when I upload to PBI Dashboard within my company's env, the end users are not able to export the data from the table. I've checked and enabled the Export permissions in the Export Settings. Anyone know why it is not working? Thanks, TaitengSolved2KViews0likes2CommentsSum only Values where another Column has Data
Harder than it looks: I have this simple table like below: I want to calculate how we're performing based on the goal in a Card. So I need to Sum only the goal values where the Gross Adds column is not blank(GAs are in the past and Goals are for the whole month). In theory this should work, but it puts a total for all the months previous rather than what is selected in the slicer. What's strange is if I replace [GAGoal] with [Gross Adds] in the measure below it correctly adds up the Gross Adds for the current month selected in the slicer. GoalTotalCurrent = VAR LastDaySelection = LASTNONBLANK ( 'Calendar'[Calendar Date], [Gross Adds] ) VAR CurrentRange = DATESBETWEEN ( 'Calendar'[Calendar Date], MIN ('Calendar'[Calendar Date] ), LastDaySelection ) RETURN IF ( LastDaySelection >= MIN ( 'Calendar'[Calendar Date]),CALCULATE ( [GAGoal], CurrentRange )) I've tried things like this, but it results in blank: SumGoals = IF(SUMX('Subscriber Activity',[Gross Adds])<>Blank(),SUMX('Subscriber Activity',[GAGoal])) So it shouldn't sum 1/8,1/9,or1/10 Date Goal Gross Adds 1/1/2025 5 6 1/2/2025 7 5 1/3/2025 8 7 1/4/2025 7 7 1/5/2025 4 3 1/6/2025 3 2 1/7/2025 2 1 1/8/2025 5 1/9/2025 5 1/10/2025 52.9KViews0likes16CommentsI don't understand why a stock graph isn't categorizing by deposit
I have a Stock table called "S Stock" in which I have the column [tipodeposito] (which is the type of deposit) and [deposit] (which is the deposit per se). I created a Stock measure that only took into account some of the types of deposits and deposits. However, when I make a table in the report and categorize it by type of deposit, it shows the entire stock without differentiation. I have made this two ways (keep in mind [cantidad] in quantity): 1. Stock = CALCULATE(SUM('S Stock'[cantidad]), OR('S Stock'[tipodeposito] = "Consignado", OR( 'S Stock'[deposito] = "ALMACEN PYH", OR ('S Stock'[deposito] = "BODEGA PYH", 'S Stock'[deposito] = "Casa Big Sur")))) In this case, you should know all those examples of [deposito] are just a share of a [tipodeposito] that is called "Bodega" (which encompasses other deposits and doesn't intersect with "Consignado"). However, when I make the bar graph and try to differentiate the stock by [tipodeposito], this is how it appears: 2. In this case, I created two measures in order to better differentiate the stock I want to take into account from [tipodeposito] = "Consignado" and from [tipodeposito] = "Bodega". So: Stock Bodega = CALCULATE(SUM('S Stock'[cantidad]), OR('S Stock'[deposito] = "ALMACEN PYH", OR('S Stock'[deposito] = "BODEGA PYH", 'S Stock'[deposito] = "Casa Big Sur"))) Stock Consignado = CALCULATE(SUM('S Stock'[cantidad]), 'S Stock'[tipodeposito] IN { "Consignado" }) Later, I sum them up in the Stock measure: Stock = CALCULATE(Stock[Stock Bodega]) + CALCULATE(Stock[Stock Consignado]) And this is the graph I get (even weirder, as the "Bodega" has all the stock available and "Consignado" just a part of it, them being a simple column which categorizes all the stock in two categories): How can I have a graph in which the total stock is divided into these two categories, but in which "Bodega" only has those three deposits I mentiones ("ALMACEN PYH", "BODEGA PYH", "Casa Big Sur"), and without using filters in the table, just in the formula? Thanks!Solved602Views0likes2CommentsMulticolumn Slicer for Table Filtering
I have the following set of data. The data table as a column that has concatenated all of the column names that have a TRUE value for the record. Data Table data_col tf_col_1 tf_col_2 tf_col_3 tf_col_4 tf_col_concat Column Data 1 TRUE TRUE TRUE TRUE tf_col_1,tf_col_2,tf_col_3,tf_col_4 Column Data 2 FALSE TRUE NULL TRUE tf_col_2,tf_col_4 Column Data 3 FALSE FALSE FALSE TRUE tf_col_4 Column Data 4 TRUE TRUE TRUE FALSE tf_col_1,tf_col_2,tf_col_3 I have created a parameter based on the "TF Col"s in the table and the code behind it looks like this TF_COL_PARAM = { ("TF Col 1", NAMEOF('Query1'[tf_col_1]), 0), ("TF Col 2", NAMEOF('Query1'[tf_col_2]), 1), ("TF Col 3", NAMEOF('Query1'[tf_col_3]), 2), ("TF Col 4", NAMEOF('Query1'[tf_col_4]), 3), } TF COL PARAM TF COL PARAM Fields TF COL PARAM Order TF Col 1 'Query1'[tf_col_1] 0 TF Col 2 'Query1'[tf_col_2] 1 TF Col 3 'Query1'[tf_col_3] 2 TF Col 4 'Query1'[tf_col_4] 3 I have created a checkbox slicer based on the TF_COL_PARAM parameter with the following options: TF Options TF Col 1 TF Col 2 TF Col 3 TF Col 4 I would like the table to filter based on the selections in the slicer. If the selection in the slicer is selected, show me all the records in the table that have a corresponding TRUE value. If the solution could also work for Multiple selections in the slicer, that would be great. I do not want to create an individual slicer for each of the tf_col columns as there could be N number of columns and that would not be practical. Our users are not going to use filters, and a combined slicer, such as what you would see in "TF Options" is what we would want. The problem I am having is the slicer only returns the value from the slicer for "TF COL PARAM" or "TF COL PARAM Fields" and not the column name just the column name. I believe I need to create a DAX query along the lines of the following, but this DAX is invalid: Matches Values = IF (CONTAINSSTRING('Query1'[tf_col_concat], SELECTEDVALUE('TF Options'[TF COL PARAM]), TRUE, FALSE) Also, this is not the only set of data in the database that is setup like this. I have 10 other column combinations I'll be doing this for, so fixing this will help with 10 other reports I am trying to create. Any advice on how to accomplish this? Thanks in advance for any advice and any help.Solved797Views0likes2Commentsshow values in data table filtered under different conditions
Hello all, I need help with DAX code that would produce results in a matrix table under the following conditions. So far not much luck.. Conditions For example, i have the following data with items under "Inventory", "Shipped", and "Invoiced" column. The actual table consists of thousands of rows, and the items in "Inventory", "Shipped" are not unique. They can consist of same/similar items. The requirement 1) Filter "Invoiced" column as "No". (this will determine the "Inventory" items) 2) Based on the Inventory items in 1), I need all of the "Shipped" items for each Inventory item, if the "Invoiced" condition is set to "Yes". *In the actual data, per each "Inventory" item, it will usually consist of 1 or more "Shipped" items. Inventory Shipped Invoiced A Z Yes B Y No C X Yes A W No B V Yes C U Yes A T No B S Yes C R No A Q Yes ・ ・ ・ ・ ・ ・ Thank you in advance!Solved1.2KViews0likes4CommentsHow to generate a new table base on some conditions
Hi team, Good day, I got a problem which need your kind advice, thanks in advance. I have a table1 in Power BI, the data is as following: Now I want to create another table (table2) base on table1, but only select few data base on conditions 1 & 2: 1. Only select these 4 columns data: GEOGRAPHY.03 MARKET, FISCAL TIME.04 FISCAL MONTH, PRODUCT LINE, AMT 2. Only the sum of AMT for GEOGRAPHY.02 SUPER REGION is not 0 should show in this table2 so this means only row 9-13 meet this condition, because row 1-8 sum AMT for SUPER REGION Asia Pacific is 0, although row 13 contains 0, but sum of AMT for Americas is not 0. So finally I would like to generate the table 2 like following:Solved621Views0likes3Comments