Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bi_trax87
Frequent Visitor

Import True or False flag dimension instead of the original dimension

Hi all,


the problem is that I have sensitive customer information in a dataset I want to publish to the service (I.e. email and mobile numbers)

 

I was wondering if it is possible to create a custom Boolean type column containing the value true if the customer has an email and false if he doesn't (which is the easy part) and not import the actual email dimension so no personal data is exposed to end users.

 

it will also reduce dataset size 😄

 

thanks in advance

 

1 ACCEPTED SOLUTION
edhans
Super User
Super User

Yes. Do this in Power Query. Add a conditional column. If there is an email address, return true, else false, then remove the email column.

 

edhans_0-1594506519219.png

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

4 REPLIES 4
edhans
Super User
Super User

Yes. Do this in Power Query. Add a conditional column. If there is an email address, return true, else false, then remove the email column.

 

edhans_0-1594506519219.png

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Thank you very much for the help

 

didnt know I could remove the column in a later step 🙂

Why don't you just remove the column from the dataset?



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

You are absolutely right, I could just remove the column in a later step

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors