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
breezecoolioo
New Member

Ability to hide data in a calculated Measure - PowerBI Desktop

I have created a table from the dataset by showing the cumulative total of a particular item in one column. Can i hide data as shown in the attached Image in "Measure 3" ad "Measure 4" from "Measure 1" and "Measure 2" respectively. The logic is that the "Measure 3" shows data till a particular date (lets assume the date is today) and then the "Measure 4" column after that particular date. I want to build a graph from the last two columns so that the graph only shows the relevant section of the data. Can someone please help?

BIImage.PNG

5 REPLIES 5
v-sihou-msft
Employee
Employee

Hi @breezecoolioo,

 

For your reporting purpose, the goal you need to achieve is combining the measure 3 and measure 4 column into one column. Since those columns are already populated, the method as @asocorro supposes to work. Based on your sample data, it seems your measure 3 and measure 4 just return different column data at a specific date point. You can directly add a column like:

 

Column = IF(table[Dates]<"05/04/2016",table[measure1],table[measure2])

 

To add image and file, please refer to screenshot below:

Capture66.PNG

77.PNG

 

Regards,

asocorro
Skilled Sharer
Skilled Sharer

Why don't you create a fifth column that has the currently available value.  Something like

 

Measure5 = IF(ISBLANK(measure3), measure4, measure3)

 

You can create a chart with both measure3 and measure4 and only the non-blank values will be shown, but you will have two series/columns and that may not be the kind of visual you want to display.

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro

Thank you very much for you quick reply. Perhaps, I did not make my question very clear. I need "Measure 3" and "Measure 4" derived from Measure 1 and Measure 2, which I am not able to create. When I write a formula, I dont find the Date column for some reason. 😞 

That's odd.  Can you share the formula you are trying to write or the pbix file?

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro

I am new here, can you please tell me, how can I add a file. I just see options for Image and videos.

 

regards,

 

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.