It’s possible to use WebDataRocks for simples reports without pivot?
I’d like to use WDR to make simple reports from my system, however, I’m having a hard time understanding how to do this as it always works by aggregating the data.
Thanks!
Hello, Vagner Le Roy,
Thank you for writing to us!
WebDataRocks provides three types of layout which help you present the data in different ways:
For your case, the best option is to use the flat form of the pivot table. It displays the raw (non-aggregated) data on the grid. You can add as many fields as you need, define their order and generate simple reports.
We’ve prepared a list of demos which you, hopefully, may find useful:
Displaying the data on the flat grid
The flat table with conditional formatting
Additionally, to look at your data from multiple angles simultaneously, you can create a dashboard with two instances of the pivot table – one in a compact form, the other in a flat form and make the flat grid react to the changes of the report from the first instance.
You are welcome to read more about the pivot table’s options and how to set them in our documentation.
Hope this is helpful for you.
Best regards,
WebDataRocks Team
Thank you so much for your answer!
However, the system is experiencing this error when Angular 4 compiles the code:
error TS2345: Argument of type ‘{ “dataSource”: { “data”: any; }; “slice”: { “rows”: { “uniqueName”: string; “sort”: string; }[];…’ is not assignable to parameter of type ‘Report’
Here in the compiler the error appears when you add the string “sort: ‘unsorted'” to the rows object (see attached image).
Thank you so much again!
Hello Vagner Le Roy,
Thank you for giving us some time.
We have updated webdatarocks.d.ts
to support sort
property in the slice, so you are welcome to update types file and the issue should be resolved.
Regards,
WebDataRocks Team
The attached error is now appearing!
Hello Vagner,
Could you please share your project sample, so that we can investigate it and recommend the fix?
Regards,
WebDataRocks Team
Of course, the files are attached
Hello Vagner,
It seems that flatOrder
property was missing in .d.ts.
You can get an updated .d.ts file from our GitHub.
Regards,
WebDataRocks Team
Hello!
First, thanks for the support!
After updating the project with the latest version, it has the following error attached!
Hello Vagner,
Thank you for the screenshot.
Actually, we have double checked latest d.ts
with your code and it seems working as expected.
Could you please share an updated sample to reproduce the issue on our side?
Regards,
WebDataRocks Team
Sure!
The files are attached!
Hello Vagner,
We have looked through your report sample and everything works as expected.
Here is the example with our sample angular project.
Regards,
WebDataRocks Team