User Profile
BarryWhitelaw
Regular Visitor
Joined 1 year ago
User Widgets
Contributions
Re: Filter By a List
Hi there The filters are generally the same fields each time, Account, Start Date, End Date. As per my previous reply, I did eventually work out how to do this by adding a New Table and amending the code to read as below. This created a filtered set of data, which seems to work perfectly 🙂 thanks for you reply Barry99Views2likes0CommentsRe: Filter By a List
Hi there and thanks for your reply. After some investigation I managed to find that I could use a dax formula, which created a 2nd data table already filtered. This means I can build all my visuals without having to add extra filtering. It may not be the neatest way of doing it but it works. I created new table then amended the formula to: I can't take credit from it, Copilot eventually supplied this after much varied prompting. Barry103Views0likes0CommentsFilter By a List
My company requires me to build a PowerBi report that allows filtering by a list. (I am reasonably porificne tin Power Query, new to PowerBi) Currrently I am using Power Query which allows a list of account numbers to be pasted into a table, which Power Query then filters by List.Contains. I do something similar for FromDate and ToDate. In PowerBi my data is Direct Query which doesn't allow for using "List.Contains" functions. Can anyone suggest how I do this so that when PowerBi is loaded, it automaticlly references the account numbers and required dates? These can be, if needed, in a seperate excel file and formated as required. I am aware that i can load the accounts number as a dataset into PowerBI and create a relationship between the accounts number fields, and use a slicer. But what this does is limit the account numbers shown and the user still has to select the accounts they want. In some instances there could be 300+ accounts. Adding in the 'Select All' option, for some reason, seems to select all accounts on the main dataset and not just those on the Accounts dataset slicer.... Hope this all makes sense! I can't obviously share my file as this would be the company sales.. thanks BarrySolved158Views0likes5CommentsRe: Add Row Showing % of Current Column
Hi there, and thank you for your reply. I'm lost with the first part of your suggestion, update my measure. Currently I am using a matrix table and literally using 3 fields from my data in it, so no measure was created. Is that was I should be doing, and where in the measure would I add your formula?535Views0likes3CommentsAdd Row Showing % of Current Column
I'm writing a visualization that shows Months, Region and Spend. I need a row underneath each month that shows the % of spend against the total. When I add a New Visual Calculation it adds this into a column, and for each month, so doubling the number of columns. How can I do this so it adds underneath? Like the sample below: to look like this: In excel it's a simple thing to do, Power BI has me stumped. It's likely a simple thing and I'm not seeing how. I can upload sample data and power bi files if needed (and someone can tell me how) many thanks in advance BarrySolved604Views0likes5CommentsRe: Simple Matrix with Variance
Thank you both for your replies. This is a prime example of trying to run before I can walk! After watching some YouTube videos it dawned on me that I should be creating a measure for each period, which would then allow me to use those measures in a calculation! Once I realsied that, it was of course a simple task! Note to brain, training!648Views0likes0CommentsSimple Matrix with Variance
HI there I am a very new user to Power Bi, and struggling with something I thought must be a simple visualization. For my data I need to show a matrix, years in the columns and months in the rows, with the spend per month/year shown. This I can do easily. My data is very basic. However, I also need to show the variance from last year to this year, and this is where I get stuck! Using co-pilot it supplied a dax formula, however that also shows the variance for last year (against nothing so shows as a minus) and it seems this can't be hidden/excluded. The end result i need is: 2024 2025 Variance Jan 24.50 39.21 14.71 Feb 13.95 24.56 10.61 Mar 32.10 29.55 -2.55 etc Is this doable? I am trying to show my company, and those that make the decisions, the Power Bi is a worthwhile expense, but struggling with this very basic starting point. The data can be run in any way needed. I'm quite proficient with Power Query so that side isn't an issue. many thanksSolved705Views0likes3Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.