六月下旬全新资源上线!丨 解锁高效能实战方案

更新亮点:本次新增5大专题9项资源,点击标题5分钟极速了解!参与互动赢取麦豆,解锁更多内容)

一、实战技巧分享

即席/透视的逆袭之路:从卡顿到秒出→ 性能优化实战,实现报表秒级响应!

体验中心焕新一“夏”,全新导览页及新DEMO上线!→ 抢先体验夏季更新DEMO!

速看!明细/汇总/交叉表的实现秘籍→ 高效构建复杂报表指南

二、开发技能突破

视频课《仪表盘图片鼠标提示几行代码,让你的仪表盘“会说话”!

视频课《仪表盘宏开发技巧→ 解锁宏开发技巧和注意事项

三、直播上线

直播《交互式仪表盘最佳实践解锁可视化大屏最佳实践技巧

四、AI每日一学

人工智能三驾马车:算法、算力与数据→ 深度解析AI核心支柱

通俗的讲一下神经网络模型的基本组成、工作原理、工作类型和生活应用场景→ 从基础到场景实战

五、资源上新

插件《安全检测→ 一键加固系统安全防护

麦粉社区
>
帖子详情

数据模型计算度量参数

电子表格软件 发表于 2024-3-25 13:38
发表于 2024-3-25 13:38:18

基于数据模型的电子表格,添加计算度量作为参数后,当输入参数值,报表查询失败,有什么办法解决吗

发表于 2024-3-25 15:40:53
报什么错误?把具体的错误信息发上来看看
  •   陈强
    查询失败
    	at smartbix.augmenteddataset.util.AugmentedDataSetException.create(AugmentedDataSetException.java:34)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryService.createException(OlapQueryService.java:594)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryService.executeQuery(OlapQueryService.java:517)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryService$$FastClassBySpringCGLIB$$d01e6225.invoke()
    	at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
    	at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryService$$EnhancerBySpringCGLIB$$2d6f73ff.executeQuery()
    	at smartbix.augmenteddataset.query.mondrian.MondrianQueryExecutor.getData(MondrianQueryExecutor.java:33)
    	at smartbix.augmenteddataset.handler.DefaultAugmentedDataSetHandler.getDataSetData(DefaultAugmentedDataSetHandler.java:91)
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryService.getDataSetData(AugmentedDataSetQueryService.java:224)
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryService$$FastClassBySpringCGLIB$$3c7d00ce.invoke()
    	at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
    	at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryService$$EnhancerBySpringCGLIB$$328faea6.getDataSetData()
    	at smartbix.smartbi.AugmentedDataSetForVModule.getDataSetData(AugmentedDataSetForVModule.java:690)
    	at sun.reflect.GeneratedMethodAccessor1067.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at smartbi.cs.a(Smartbi:82)
    	at smartbi.spreadsheetreport.core.selfquery.AugmentedGirdDataQuery.getGridData(Smartbi:118)
    	at smartbi.spreadsheetreport.core.GridDataFactory$a.a(Smartbi:490)
    	at smartbi.spreadsheetreport.core.GridDataFactory$a.b(Smartbi:207)
    	at smartbi.spreadsheetreport.core.GridDataFactory$a.a(Smartbi:189)
    	at smartbi.spreadsheetreport.core.GridDataFactory$a.call(Smartbi:134)
    	at smartbi.freequery.client.simplereport.JobService$2.call(JobService.java:86)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    	Suppressed: java.lang.NullPointerException
    		at smartbix.augmenteddataset.olap.impl.OlapQueryService.getTwoDimensionData(OlapQueryService.java:1186)
    		at smartbix.augmenteddataset.olap.impl.OlapQueryService.buildResult(OlapQueryService.java:941)
    		at smartbix.augmenteddataset.olap.impl.OlapQueryService.executeQuery(OlapQueryService.java:510)
    		... 38 more
    2024-3-25 16:03| 回复
  •   陈强
    基于数据模型的即席查询,当用计算度量作为参数的时候,是没有问题的,但是电子表格在参数管理设置后,如果那个计算度量的参数输入了值,就会报这个错
    2024-3-25 16:09| 回复
  •   脑袋空空
     回复 陈强
    你的报错是不是没截完整?参数是怎么配置的,可以截图看看
    2024-3-29 17:42| 回复
  •   脑袋空空
    或者试一下开启SQL引擎的设置想看能不能规避?
    说明及操作:https://wiki.smartbi.com.cn/pages/viewpage.action?smt_poid=43&pageId=113542956
    2024-3-29 17:43| 回复

回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

5回帖数 0关注人数 988浏览人数
最后回复于:2024-3-25 15:40
快速回复 返回顶部 返回列表