powerbi
16 TopicsExploring Clickable Manager Navigation Instead of Drillthrough
Hi, I've created a mock-up of a potential navigation experience for the AI Adoption Dashboard. The idea is that instead of using Drillthrough (which may be difficult to explain and adopt for leaders/managers), we make the Manager Name clickable, similar to a button or hyperlink. When a user clicks a manager, it would navigate to a dedicated manager details page showing: The selected manager's organization/team only A similar matrix view (without the leader slicer) Tool adoption counts and percentages Additional visuals such as bar charts showing adoption by AI tool Any relevant team-level insights The goal is to provide a more intuitive "click and explore" experience that f eels like navigating through the organization hierarchy, rather than requiring users to understand Drillthrough functionality. Would this type of page navigation be technically feasible in Power BI? Thank you for you help in advanceSolved568Views0likes5CommentsHierarchies in PowerBI scorecards
I am extremely disappointed to see the hierarchy feature retired in PowerBI scorecards and hope an alternative function will be developed. Hierarchies allow consistent data metrics to be used seamlessly from our C-suite to our front office at 20+ locations and are easily scalable as we grow and add new metrics.Solved881Views1like5CommentsIssue Exporting Power BI Paginated Report via API Using Service Principal
Hello Power BI Community, I’m currently facing an issue with automating Paginated report exports in Power BI using the REST API with a service principal. Everything seems to be working fine when I use a master user, but I’m running into issues when trying to use a service principal for the same task. Here’s a brief overview of what I’ve done so far: Set up a Service Principal in Azure Active Directory and granted it the necessary API permissions (e.g., Report.Read.All, Dataset.ReadWrite.All, etc.) for Power BI. Used the OAuth2 client credentials flow to authenticate and obtain an access token for the service principal. Successfully created a dataset using the Power BI API. Created paginated reports based on this dataset. Attempted to use the Export to File in Group API to export the report. When I try to export the report using the service principal, I’m encountering the following error: { "status": "Failed", "error": { "code": "Connection_Error_General", "message": "RootActivityId(4780ea99-6f13-4c9d-a18f-6f935b2ce05f): There was an error communicating with Analysis Services. Please verify that the data source is available and your credentials are correct.", "details": [] } } The export works perfectly fine when I use a master user for authentication, so the issue seems to be related to service principal authentication. Any help or pointers would be greatly appreciated! Thanks in advance for your help!Solved1.2KViews1like5CommentsAlternative for clustered bar chart
I currently have a sample visual showing Dealers,Franchise, Consultant, and Total Sold on the X-axis, with Product Value or Value % on the Y-axis, and a Category legend — displayed as a clustered column chart. I’m looking for alternative, more expressive visual options to represent this data — preferably custom visuals that don’t require filters on the screen, since the report will include a print option.Solved1.1KViews0likes6CommentsPython editor overhaul - PowerBI
PowerBI has big quality issues with the Python editor. I'm used to PyCharm/IDLE/the Python REPL, and found it very hard to diagnose Python scripts, interpret errors, or even make small changes to them in PowerBI. 1. When you go to "Get Data > More > Python Script", you are only allowed to paste a Python script in. You can't use a file on disk. PowerBI forces you to embed a static script in PowerBI. This is annoying because it'd be nice to maintain a file-based repo of Python scripts, instead of embedding them in the .pbix file. 2. If I want to edit the imported Python script, you get a terribly hard to read block of text: let Source = Python.Execute("import pandas as pd#(lf)#(lf)# Example data#(lf)data = {#(lf) 'Category': ['Electronics', 'Electronics', 'Furniture', 'Furniture', 'Office Supplies', 'Office Supplies'],#(lf) 'Sub-Category': ['Phones', 'Laptops', 'Chairs', 'Tables', 'Paper', 'Binders'],#(lf) 'Sales': [5000, 7000, 3000, 4000, 1000, 2000],#(lf) 'Profit': [1500, 2000, 500, 800, 200, 600],#(lf) 'Date': ['2024-01-01', '2024-02-01', '2024-01-01', '2024-02-01', '2024-01-01', '2024-02-01']#(lf)}#(lf)#(lf)# Create the DataFrame#(lf)df = pd.DataFrame(data)#(lf)#(lf)# Convert Date column to datetime#(lf)df['Date'] = pd.to_datetime(df['Date'])#(lf)#(lf)print(df)#(lf)"), df1 = Source{[Name="df"]}[Value] in df1 3. Error logs have no history: If I have a Python error, I can't easily diagnose it from within PowerBI or debug it. I have to open a separate text editor, hope that I saved my original Python script, run it in my own REPL, and also copy the error to an external text editor. 4. No stdout: If my script prints to stdout, I can't view it. I could go on, but I think the main point stands: Debugging or editing PowerBI Python scripts is really painful. Even an IDLE-like interface would be amazingly useful. Alternatively, a community guide on "How do I develop complex Python scripts within PowerBI and test them" would be useful. Perhaps Microsoft could make a Github repository that has a flow set up.Solved801Views0likes2CommentsPOWER BI REFRESH IN DESKTOP
Hi good morning, This error may seem to occur to many people but I haven't found any place where the solution is solved. When I try to refresh de data in power BI desktop with the button appears and error, different types of them. But, if you go to 'Transform Data' and refresh each of the queries one by one, the errors disappear. And then, going back to the report and press 'Refresh' everything is fixed, why? Thank you so much670Views0likes4CommentsWho logs in to PowerBI & to which reports - over a custom timeperiod?
Hello, I am wondering if I can track how frequent users login to/use PowerBI & which reports they have watched over a custom timeperiod (e.g. 1 year)? I understood currently that we can only view the reporting now over the past 3/4 weeks and that we need to do this analysis on report level (and cannot do it in bulk) Is this correcT? The goal is to understand which users really make use of PowerBI and of which reports and which users never login. Many thanks for your help & time upfront. KR, Charlotte1.3KViews0likes2CommentsMatrix total calculations
Hi, I am very new to powerBi and i am trying to put up a matrix as shown below but stuck with the difference calculation. I am not sure how to show the total which is the sum of (cat1+cat2+cat3_cat4+cat5 - Withdrawn) Any help would be appreciated ThanksSolved1.9KViews0likes9CommentsRANKX with SUMMARIZECOLUMNS and Filter
Hi all, Here is a sample of my dataset, where: - Job: one job can have multiple tasks, and be executed more than once in a day (job timestamp repeated). - Task: multiple tasks happen within a job. - Job TimeStamp: date and time the job started. One job can have multiple executions within a day. - Job Date: date the job started. - Job Status: can be either G or C. - Unique Key: concatenation between Job and Job TimeStamp. Here is a table I constructed using the following measures: G = CALCULATE(DISTINCTCOUNTNOBLANK(Table1[Unique Key]),Table1[Job Status]="G") Distinct Count Unique Key = DISTINCTCOUNTNOBLANK(Table1[Unique Key]) %G = IF([G]>0,[G]/[Distinct Count Unique Key],0) Average = CALCULATE([Distinct Count Unique Key], REMOVEFILTERS(Table1[Job]))/CALCULATE(DISTINCTCOUNTNOBLANK(Table1[Job]),REMOVEFILTERS(Table1[Job])) What I want to do a ranking of those jobs that are above average and below average. The jobs that are above average (Distinct Count Unique Key > Average), I want to create a table that contains the following: On the other hand, for those below average (Distinct Count Unique Key < Average): This ranking should be filtered with a slicer by Job Date. Ranking = VAR SummaryTable = FILTER( SUMMARIZECOLUMNS(Table1[Job],Table1[Job Date], "job_executions",DISTINCTCOUNTNOBLANK(Table1[Unique Key]), "job_failed_aborted",CALCULATE(DISTINCTCOUNTNOBLANK(Table1[Unique Key]),Table1[Job Status]="G"), "pcte_job_failed_aborted",CALCULATE(DISTINCTCOUNTNOBLANK(Table1[Unique Key]),Table1[Job Status]="G")/DISTINCTCOUNTNOBLANK(Table1[Unique Key])), [job_failed_aborted]>0) RETURN RANKX(ALL(SummaryTable[job_name]),[pcte_job_failed_aborted],,DESC) But it is not working. Could you please help me out? Thanks a lot! Best, S2.9KViews0likes4Comments