Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Password Encrypted Excel file Sorcee

Ajith1
8 - Asteroid

Hi 

Could you please attached my Requirement file.

I need to be load a file Row 18 before Row data  I don't want it

Note: Source file I have a Password (Encrypted File) I'm not able to load Encrypted file in community 

Please Suggest to me........

18 REPLIES 18
pedrodrfaria
13 - Pulsar

Can you provide a screenshot to how the data looks right after the R tool?

 

Is the configuration on the select records exactly where you wish to start the data?

Ajith1
8 - Asteroid

@pedrodrfaria 

I'm getting attached screenshot result after R tool

pedrodrfaria
13 - Pulsar

This was not the example you sent over last time. You were asking about how to begin from a specific row, in your case row 18. This example right now only has one row, so I'm confused about your ask. You loaded the encrypted file into Alteryx using R, but this file in this screen shot only has one row. 

 

Did you try to do this workflow with the encrypted file you mentioned in this post? I attached the file you sent over last time to make sure I'm being clear.

 

Pedro. 

Ajith1
8 - Asteroid

@pedrodrfaria 

Yes this is my actual requirement begins from a specific row, in my case row 18 but it will be varying some time.

If I'm taking the same file also it will be shown the wrong data.


Note: by using the R tool it can't be taking blank Rows and Columns


Example :

Input :

Namesal Location
Ajithraj jskf
    
weqwewwq eqw
ewqee wew

 

 

But it will be returns

Namesal
Ajithraj

I have a few blank columns and rows

 

Output like the need for me 

NamesalLocation
Ajithrajjskf
weqwewwqeqw
ewqeewew
pedrodrfaria
13 - Pulsar

Hi @Ajith1 

 

This is something different that the original topic is. We do ask if you have different questions to open a new topic as it makes it easier for people to help you and for people to look for similar issues.

 

If you are simply trying to remove null columns and null rows you can add a Data Cleansing and remove these null values. Please see the configurations below:

 

pedrodrfaria_0-1609958992082.png

 

Ajith1
8 - Asteroid

Hi  @pedrodrfaria 

Good.....😊

If I have the same scenario but  my data with an Encrypted file (Password Protected Excel)

Could you please Suggest to me. how can I resolve this scenario

pedrodrfaria
13 - Pulsar

@Ajith1  You should do something like this:

 

pedrodrfaria_0-1610023270082.png

 

 

Please, if you have any different questions unrelated to the original post, please assign a solution to this post and open a new post.

 

Pedro.

Ajith1
8 - Asteroid
Smriti2107
5 - Atom

 

 

The below solution works for MAC & Windows

Python based solution - 

 

from ayx import Package

from ayx import Alteryx
Package.installPackages(['pandas','xlwings'])

 

import pandas as pd
import xlwings as xw

 

//place your path here

PATH = r'C:\Users\smrit\OneDrive\Documents\Alteryx\Book2.xlsx'

wb = xw.Book(PATH,password='12345')

 

// I renamed my sheet1 as sample
sheet = wb.sheets['sample']

 

df = sheet[sheet.used_range.address].options(pd.DataFrame, index=False, header=True).value
df

Labels