گزارش گیری از جدول با روش بهینه یا روش سریع
Collapse
X
-
-
مرتب سازی انجام میشه
ولی نه به عنوان تاریخ
یعنی اگر شما داده های نامرتبی در دیتابیستون داشته باشید
نمیتونه بر اساس تاریخ مرتب کنه
و ماه ها رو مرتب کنه.
منظورم از مرتب کردن اینه
الان مرتبه چون داده های خودتون هم به ترتیبه
امیدوارم منظورمو رسونده باشم[CENTER][B][COLOR=#008000][SIZE=3]محصولات و جزوات آموزش تخصصی [URL="https://excelpedia.net/"]اکسل[/URL] در:
[URL="https://excelpedia.net/category/excel-functions/"]برترین مرجع تخصصی پارسی اکسل[/URL]
[URL="http://www.exceliran.com/shop/"]جامعه اكسل ايرانيان: فروشگاه[/URL][/SIZE][/COLOR][/B]
:wcom:
[B][URL="https://excelpedia.net/"]آموزش اکسل تخصصی[/URL] و [URL="https://excelpedia.net/excel-ninja/"]پیشرفته[/URL] - [URL="https://excelpedia.net/"]تهران[/URL][/B]
[EMAIL="h.khakzad@yahoo.com"]h.khakzad@yahoo.com[/EMAIL]
[/CENTER]کامنت
-
با تشکر
فایلهائی که باهاش pivot table رو ایجاد کردم با آفیس 2007 بود
این فایل رو که ضمیمه میکنم با آفیس 2013 هست ولی نمیدونم چرا از لحاظ ظاهری فرق میکنه با فایلهای بالائیم
چیکار کنم که به صورت سلسله مراتبی نباشه
الان به این شکل تو جدول گزارشم نشون داده میشه
میخوام طریقه نمایش جدولم به اینصورت باشهردیف تاریخ عامل شماره سریال توضیحات مبلغ 1 1393/11/01 user100 021 (blank) 20000
ردیف تاریخ عامل شماره سریال مبلغ توضیحات 1 1393/11/01 user100 021 20000 (blanck) فایل های پیوست شدهLast edited by generalsamad; 2015/02/25, 18:27.[CENTER]
[SIGPIC][/SIGPIC]
[/CENTER]کامنت
-
2 سوال داشتم
یکی اینکه وقتی میخوام ستونهای رو بیارم تو شیت همیشه اونائی که تو قسمت value قرار دارند ستونهای آخر جا میگیرند
میشه کاری کرد که اینطور نباشه مثلا تو پست قبلی تو جدول pivot میخوام جای ستون مبلغ و توضیحات جابجا بشه که ستون آخریم توضیحات باشه
سوال دوم هم اینه که چه جور میشه تو قسمت فیلتر داده ها رو حذف کرد؟
اونائی که اخیرا استفاده شدن تو فیلتر پاک نمیشن .
با وجود اینکه اطلاعات جدول پایگاه دادم رو پاک میکنم و pivot رو رفرش میزنم اما همچنان توی جدول pivot قسمت فیلتر اطلاعات همچنان وجود دارند.
راهی وجود داره که این تاریخچه فیلتر رو حذف کرد؟
Last edited by generalsamad; 2015/02/26, 20:28.[CENTER]
[SIGPIC][/SIGPIC]
[/CENTER]کامنت
-
با سلام جواب سوال دومم رو گرفتم
که چطوری میشه تاریخچه رو در pivot table حذف کردChange Retain Items Setting in Excel 2010 / 2007
To prevent old items from being retained in an Excel 2010 or 2007 pivot table, you can change an option setting:
- Right-click a cell in the pivot table
- Click on PivotTable options
- Click on the Data tab
- In the Retain Items section, select None from the drop down list.
- Click OK, then refresh the pivot table.
Manually Clear Old Items
Instead of changing a setting, you can manually clear the old items from the drop down lists:
- If you manually created any groups that include the old items, ungroup those items.
- Remove the pivot field from of the pivot table.
- Right-click on the pivot table, and click the Refresh command
- Add the pivot field back to the pivot table
Programmatically Clear Old Items -- Excel 2002 or later
In Excel 2002, and later versions, you can programmatically change the pivot table properties, to prevent missing items from appearing, or clear items that have appeared.
کد PHP:
Sub DeleteMissingItems2002All()
Dim pt As PivotTable
Dim ws As Worksheet
Dim pc As PivotCache
For Each ws In ActiveWorkbook.Worksheets
For Each pt In ws.PivotTables
pt.PivotCache.MissingItemsLimit = xlMissingItemsNone
Next pt
Next ws
For Each pc In ActiveWorkbook.PivotCaches
On Error Resume Next
pc.Refresh
Next pc
End Sub
Programmatically Clear Old Items -- Excel 97/Excel 2000
In previous versions of Excel, run the following code to clear the old items from the dropdown list.ولی هنوز جواب سوال اولم رو نگرفتم
کد PHP:Sub DeleteOldItemsWB()
'gets rid of unused items in PivotTable
' based on MSKB (202232)
Dim ws As Worksheet
Dim pt As PivotTable
Dim pf As PivotField
Dim pi As PivotItem
On Error Resume Next
For Each ws In ActiveWorkbook.Worksheets
For Each pt In ws.PivotTables
pt.RefreshTable
pt.ManualUpdate = True
For Each pf In pt.VisibleFields
If pf.Name <> "Data" Then
For Each pi In pf.PivotItems
If pi.********unt = 0 And _
Not pi.IsCalculated Then
pi.Delete
End If
Next pi
End If
Next pf
pt.ManualUpdate = False
'pt.RefreshTable 'optional - might hang Excel
'if 2 or more pivot tables on one sheet
Next pt
Next ws
End Sub
Last edited by generalsamad; 2015/03/01, 01:48.[CENTER]
[SIGPIC][/SIGPIC]
[/CENTER]کامنت
کامنت