Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hey guys
I am trying to package a visual for power BI ( i have made some changes in code in a visual available on appsource), and i am getting this error. Please help what to do:
The PowerBI-visuals.d.ts in your tsconfig.json must match the api version in pbiviz.json (expected: .api/v2.1.0/PowerBI-visuals.d.ts)
Thanks in advance.
Solved! Go to Solution.
Try npm install and npm run package to build a pbiviz package for Pulse Chart.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I am getting an error while packaging which says the following:
error Author name is not specified
error Author e-mail is not specified
error The visual description is not specified
error supportUrl is not specified
Hey @shubham006t ,
I guess long shot after so many years, but how did you tackle the issue? Thanks in advance!
Best,
Ioannis
I'm also facing the same error, if it's resolved for you can you please share the solution.
Thanks.
Please align api version in pbiviz.json, .api and tsconfig.json to resolve the issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi Ignat,
Thank you for reply to the issue. I understand that the API version needs to be the same and API version in all the three files is actually same i.e. v2.1.0. I do not know why this error keeps on coming up though. Will have a look again, trying from past 2 days on the same error.
Thanks & regards
You can share the code so we can help you to find a root cause of this issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Sure Ignat,
The GitHub repo for the code is https://github.com/Microsoft/powerbi-visuals-pulsechart.git.
Thank you very much for your help. Have tried other ways too and can package other visual codes similar to this this one but not sure what is the problem with this code.
Thank you very much for your help.
Regards
Try npm install and npm run package to build a pbiviz package for Pulse Chart.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hey Ignat,
Thanks a ton.
I was able to package the visual files with that command, Though the pulse chart source code from GitHub is quite corrupted probably so cant apply on that. This command works fine with every other source code though.
Can you guide me as in where do we write the code for the "Dont summarize" summarisation option we put in data roles for the power BI visuals.
Thanks
Don't summarize option can be turn on by using GroupingOrMeasure instead of Measure.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi Ignat,
I tried to put "GroupingOrMeasure" in the data role declaration "kind" in the capabilities.json file but it doesnt changed the options either.
I
I tried reading the code for other visuals and opened capabilities.json file and checked and it had "kind" as only "Measure" but still the "Don't Summarize" option was appearing in the power BI desktop.
Can you guide me what am i missing to do.
Do you or don't you want to support "Don't summarize" option?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I want it to support !
GroupingAndMeasure is supposed to resolve this issue.
Can you share the code to check this issue from our side?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Hi Ignat,
That would be so supportive of you.
This is the repo of "Enhanced Scatter" visual for which i am asking about.
https://github.com/Microsoft/powerbi-visuals-enhancedscatter
It does not show the "Dont Summarise" options for its data roles " X Axis" and "Y axis". Most probabaly i need that in " X axis".
I know that this also depend on the data field type but the same data field when used with scatter chart(Default visual) in Power BI desktop, it does show the "Dont summarise" option.
What happens is when you put any data against a categorical data like observe against months etc, it treats everything as numeric data and asks to choose either "First, last, count or count(distinct)". This is not possible for categorical data.
I would be very glad if you can have a look and guide me.
Thanks in advance.
Best Regards
Please change type to GroupingOrMeasure.
After that, you will be able to select "Don't summarize".
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
10 | |
6 | |
3 | |
2 | |
2 |