需求描述:日期维表左关联事实表,当选择某个月的时候,我们需要把那个月每一天的数据展现出来,事实表如没数据就显示空。如下效果图:最开始我试过使用FM来设计维表和事实表为左关联,但是由于需要2个参数,一个基于维表的月份参数,一个是基于事实表中销售类型作为参数。发现报表始终展现出来的是内连接的效果。现在我们可以巧妙利用工具箱里面的“并集”来实现,如下图:查询1是事实表的数据,设置如下:查询2是维表的数据
分类:
其他好文 时间:
2018-09-03 16:29:17
阅读次数:
198
MySQL主从介绍配置主mysql安装后修改my.cnf配置文件,修改my.cnf,增加server-id=130和log_bin=dashuo1[root@100xuni1~]#vim/etc/my.cnf修改完配置文件后,启动或者重启mysqld服务[root@100xuni1~]#/etc/init.d/mysqldrestart重启完成后/data/mysql下会出现几个文件把mysql数
分类:
数据库 时间:
2018-09-03 02:36:27
阅读次数:
187
This example demonstrates a 3x3 kernel that embosses an image. ...
分类:
其他好文 时间:
2018-09-02 23:58:28
阅读次数:
307
This example demonstrates how to convert between a color value in RGB (three integer values in the range 0 to 255 representing red, green, and blue) a ...
分类:
其他好文 时间:
2018-09-02 23:44:05
阅读次数:
184
AffineTransform tx = new AffineTransform(); tx.scale(scalex, scaley); tx.shear(shiftx, shifty); tx.translate(x, y); tx.rotate(radians, bufferedImage.g... ...
分类:
移动开发 时间:
2018-09-02 23:43:28
阅读次数:
201
This example demonstrates how to create a filter that can modify any of the RGB pixel values in an image. Here's some code that uses the filter: ...
分类:
其他好文 时间:
2018-09-02 23:41:33
阅读次数:
200
An applet can be configured through the use of applet parameters. For example, the contents for a news ticker applet could be specified through an app ...
分类:
移动开发 时间:
2018-09-02 21:54:51
阅读次数:
238
代码块: import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; // import App from './App'; import {BrowserRouter as Router,Ro ...
分类:
其他好文 时间:
2018-09-02 00:06:41
阅读次数:
411