Right, this is part of the just in time provisioning of external users. The prefix is where their login is coming from. Ensures uniqueness and all that. You should expect a prefix for any supported external federated login. I think outlook.com, live.com probably some others.
Re: Strange prefix on USERNAME() and USERPRINCIPALNAME() for external users
Visual Specific Data Colors
I've seen other people ask this in various places, but is there a way to use the "dataColors":[...] code to specify different color schemes for different visuals? Or is that a possible future feature? It looks like right now I can set the code in the .json within visuals, but it doesn't actually do anything.
I've been experimenting with using DAX and conditional formatting to accomplish what I want, but I'm looking to see if there is a more easy solution that is distributable across reports, so I don't have to create a new DAX function for each new report.
New column creation
Hello,
I´m trying to create a new column (Flag) that show the values 0 or 1.
The value of this column should be 1 if there are one or more rows with Managed > 0 for the same Country on the last 10 days.
For example:
Thanks for your help!
Re: New column creation
In sql a posible solution is the following pseudocode but I need to do it in DAX.
Re: Is it possible to use an API Bearer to load a report preauthenticated
This is helpful however looks to require IIS?
Is there a way to embedded it for example in an app that only has a browser (and can send headers along with the browser navigate request)
If this does work without IIS/some sort of hosted solution - is there steps?
Can you use StructuralTypeDescriptor's without capabilities.json?
When making a Custom Visual: in the documentation about objects and properties (https://docs.microsoft.com/en-gb/power-bi/developer/visuals/objects-properties) it specifys that the "type" is either a ValueTypeDescriptor or a StructuralTypeDescriptor.
However, in schema.capabilities.json, even in the latest API version, (v2.6.0) only fill and fillRule are allowed.
If I try and add another type like "image" into my capabilities.json, I get the error "Invalid capabilities" when I try to build the visual.
Is there any way to use the other StructuralTypeDescriptor's from PowerBI-visuals.d.ts ? "image" and "geoJson" types in particular would be useful.
I can make-do with a series of custom string properties, but it makes more sense to use the existing interfaces.
Thanks!
Re: Power BI for MAC
Hi
There's no plans currently for Desktop to be developed for the Mac. This Guy in a Cube video covers the current state, as well as ways to run Desktop on a Mac using options such as Parallels or turbo.net.
They also mention that the intended roadmap is that the service (web) experience should incorporate most of the Desktop experience over time, but this is still not quite there yet, so hopefully the above options should be something you can look into.
Good luck!
Daniel
If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂
Re: Can you use StructuralTypeDescriptor's without capabilities.json?
Hi
Unfortunately not - if the capabilities.json does not validate against the prescribed schema, then you'll run into these issues and the visual just won't build.
For now, the workarounds you're specifying (string properties and parsing them to the desired types on enumeration, and back when update) are the way to go, but I agree this would be a useful addition to the user experience. Perhaps you can create an enhancement request for it?
Another alternative would be to consider using advanced edit mode (EDIT: correct link) to build a UI component for these properties specifically for the end user, and handle the read/write from the capabilities accordingly. The d3.js visual does something like this (albeit with text boxes, but could be modified to use other widgets):
- js and css objects in capabilities
- Show/hide containers based on mode
- Persistence from editor to objects
Regards,
Daniel
If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂
Re: Can you use StructuralTypeDescriptor's without capabilities.json?
Thanks
I thought that might be the case. Advanced edit mode is new to me, I was doing the same thing with a boolean property, but advanced edit mode is taylor made for this kind of thing.
FYI, I think you linked to the wrong page for advanced edit mode. Here is the documentation for those that follow.
Re: Can you use StructuralTypeDescriptor's without capabilities.json?
Thanks
Re: Custom data connector (SDK) help required
Rather than build a connector in the power query SDK why not build it outside in the cloud?
My course teaches you exactly how to do this and goes through detailed walkthroughs and everything I do is done without writing any code!
https://businessautomator.co.uk/no-code-business-intelligence-connector-development/
What is the best practices for PowerBI version control
Hi,
What version control are available for PowerBI and what is the best practices for version control?
What is the best practices for Application Lifecycle Management (Dev -> UAT -> Prod)?
What is the best way to control the deployment PowerBI in a large/enterprise organisation so that we don't lost track on the usage and deployment?
Is there any limit on number or workspace own by a person?
Thank you in advance
Ways for migration to new office365 tenant ?
I've few questions regrading Power Bi migration.
1. We are migrating to new office365 tenant. Other than manually download PBIX files and reimport to new tenant, is there any tools or other way to migrate ?
2. If the user is deprovisioned by Power Bi license, what happened to their data?
3. If we want to retrive the deprovisioned user data do we need to assign the license ?
4. If the admin of a workspace left the company, can we assign their data & workspace to a new user ?
Re: Power BI REST API Bad Request Object must implement IConvertible.
I talked with the support and the solution is to enclose dates in the single quotation marks.
Hope they changed it in the official documentation.
Power BI Report Column format
Hi,
I have 2 columns X and Y having comma separated values. I want to create a custom Column XY that will have data from both the strings in columns X and Y.
The below screenshot is the sample format in spreadsheet and need this to be achieved in the Power BI Report.
I am new to Power BI. Do help me find a solution.
Thanks in advance
Re: Is it possible to use an API Bearer to load a report preauthenticated
Hi
Both App owns data and user owns data require Web Server like IIS
Other option is to use Secure Embed : This option help you to embed in any of the apps (don't need any IIS) there are some limitations
Limitations:
- The user will need to sign-in to view the report whenever they open a new browser window.
- Some browsers require you to refresh the page after sign-in, especially when using InPrivate or InCognito modes.
- To achieve a single sign-on experience, use the Embed in SharePoint Online option, or build a custom integration using the User Owns Data approach. Learn more about User owns data
- The automatic authentication capability provided with the Embed option does not work with the Power BI JavaScript API. For the Power BI JavaScript API, use the User Owns Data approach to embedding. Learn more about User owns data
- Secure embed does not support paginated reports or dashboards.
- Embedding in Portals for Azure B2B users is not yet supported.
Not sure you can override the autentication and provide the bearer token with this option.
Limit the duration of DAX queries (timeout)
I have a few users sometimes executing highly imperformant DAX queries against an OnPrem SSAS Tabular database.
Is there a server side setting to limit the duration of queries so that the server cancels long running queries automatically?
Re: Open Navigation from Power BI Maps
Hi all
any suggestion?
Re: How to get refresh history of dataset using powerbi REST API ?
Hi
You can refer the below link to understand the exract of refresh history details.
https://github.com/microsoft/powerbi-powershell/blob/master/examples/Export-RefreshHistory.ps1
I had written a script which exported the data into csv files.
Best Regards,
ankbaner
Missing Customize current theme in Options
Hi,
How can I add "Customize current theme" to the Options? I don't have it even though I've logged in as super user.