NReco is a collection of reusable components for .NET platform (.NET Framework and .NET Core)
Questions tagged [nreco]
143 questions
0
votes
1 answer
Nreco cube cahnge processing
NReco PivotData Cube processing
This component is new to me, and i am curious whether it supports frequent updates to the data source? Normal size of data will be 1000 rows containing 60 facts and 6 dimensions. Is it possible to update single rows…

kenander
- 55
- 1
- 4
0
votes
1 answer
NReco.PivotData.TopPivotTable Take last N instead of first N
Taking the first N number of rows is pretty straightforward and works well with
var topPvtTbl = new TopPivotTable(runningPvtTbl, 3, 99);
topPvtTbl.IncludeOtherGroups = false;
Is there an inverse? My use case is that…

Jason
- 13
- 3
0
votes
1 answer
Derived dimensions based on measure
In the NReco examples there is a section on derived dimensions based on other dimensions. Is there a way to to a derived dimension based on a measure?
NReco derived dimension from another dimension example below
Define derived dimension expand…

Jason
- 13
- 3
0
votes
1 answer
Error when generating PDF through NReco PDF Generator
I'm testing out NReco PDF Generator to generate PDF files from C# code. The component have been working well so far, but today I got an exception logged while generating a PDF:
System.Exception: Cannot generate PDF: (exit code: -1073741628)
--->…

ThomasArdal
- 4,999
- 4
- 33
- 73
0
votes
1 answer
Sorting both rows and columns of pivot table
Trying to have pivot table output with sorted rows and columns
I've tried different combinations of sortrowkey, col keys etc and can't find the right syntax. Latest try was making sure the data doing into the cube before the pivot was sorted and…

Jason
- 13
- 3
0
votes
1 answer
NReco filter cube based on date range
Need to slice cube by date range. After getting the data into the cube how can I pass in a start/end date to limit a slice?
//define full data set
var allRows = (from c in newContext.MCrmOpportunity
orderby…

Jason
- 13
- 3
0
votes
1 answer
Turn off count in value return set
When the cube is created and sum is chosen it returns a sum and a count in the value context when output as json. How can that be turned off so only the sum value is returned?
//define cube pivot
var cubeData = new PivotData(
…

Jason
- 13
- 3
0
votes
1 answer
Pulling in data using Entity Framework to Nreco pivotdata
I am trying to test out NReco.PivotData for in memory cubing. Our existing process is using entity framework and is able to pull the data but I can't find the right way to put it into the cube.
Tried casting the data as a list, an array, enumerable…

Jason
- 13
- 3
0
votes
1 answer
Adding page numbers to PDFs including the cover page
I'm trying to add a page number to the bottom of the page, which doesn't seem to work as expected.
Currently i'm using this:
/
The problem with this solution is that it doesn't count the cover…

Broken
- 109
- 2
- 10
0
votes
1 answer
Conversion is not happening in Nreco for Chinese currency
I am using NRECo to convert HTML string to Bytes for pdf conversion. Everything works fine but in a string, When I insert Chinese currency symbol (¥) but after conversion, I am seeing Â¥. How do I need to solve this issue?
CNY(¥) Cost
converts to…

Praveen kumar
- 225
- 1
- 6
- 18
0
votes
1 answer
How to get "has_b_frames" video property in NReco?
I try to get "has_b_frames" value of video, but failed at select xml node.
The code:
var videoInfo = new FFProbe();
var root =…

honeytoast
- 55
- 1
- 1
- 5
0
votes
1 answer
Documentation of XPath Elements for NReco Videoinfo
I wanna use NReco Videoinfo to access all information of a media file. You get a special attribute by calling a function GetAttrValue(xpath).
It wants a xpath for example "streams\audio\channels" (this is not the correct one I know) - but I don't…
0
votes
0 answers
JSON.NET WriteRaw putting extra data and closing bracket on output
So I've made a custom JsonConverter that seems to do just perfectly serializing an object and deserializing it.
Specifically, I'm serializing an FFProbe output via NReco.VideoInfo:
public class NMediaInfoConverter : JsonConverter
{
public…

Wesley Long
- 1,708
- 10
- 20
0
votes
1 answer
Change ToC Font-Family and Size Using NReco HTML-to-PDF C#
I'm using NReco to convert HTML views to PDF files in a C# project. Everything works perfectly but I'm struggling to set the Font-Family and Font-Size properties of the generated ToC as it doesnt match the rest of the document.
This is my code…

Bad Dub
- 1,503
- 2
- 22
- 52
0
votes
1 answer
Can an executable be run as a part of a blob-triggered Azure Function?
I know executables are suitable for timer triggers, but since the timer trigger doesn't require parallel access to the executable, I wasn't sure if it works for blob triggers. Let's say I have 10 messages in my queue, will the Azure runtime cause a…

Dhruv Kapoor
- 175
- 2
- 11